diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-16 13:21:31 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-08-16 16:52:18 +0200 |
commit | 944717a46c237e5a5b2d6e5ea2fd8389523638e4 (patch) | |
tree | 6e894837d1cd327bb578b00d7826e3de0cde816c /src/qml/compiler/qv4isel_p.h | |
parent | 85e6b8e9e7e158b5cb4238c2dd5e28406bc913e2 (diff) |
Ported the compile-time class setup for object literals to be run-time based
Change-Id: I21225e4bf0f66914229cf64fa29ce870548c0e93
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_p.h')
-rw-r--r-- | src/qml/compiler/qv4isel_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4isel_p.h b/src/qml/compiler/qv4isel_p.h index 3553d9dc78..314af517f9 100644 --- a/src/qml/compiler/qv4isel_p.h +++ b/src/qml/compiler/qv4isel_p.h @@ -74,6 +74,7 @@ public: uint registerSetterLookup(const QString &str) { return jsUnitGenerator.registerSetterLookup(str); } uint registerGlobalGetterLookup(const QString &str) { return jsUnitGenerator.registerGlobalGetterLookup(str); } void registerLineNumberMapping(V4IR::Function *function, const QVector<uint> &mappings) { jsUnitGenerator.registerLineNumberMapping(function, mappings); } + int registerJSClass(QQmlJS::V4IR::ExprList *args) { return jsUnitGenerator.registerJSClass(args); } protected: QV4::Function *createFunctionMapping(QV4::Function *outer, V4IR::Function *irFunction); |