diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-10-09 00:24:55 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-11 22:55:02 +0200 |
commit | 774963f52f569e637f45d6c6079121253e54b61b (patch) | |
tree | b007dcdbe49a90db727593d4e1966c92d4622dee /src/qml/qml/qqmlvmemetaobject_p.h | |
parent | c39393e7de5b808adbc9c5771ecca161c9660d7c (diff) |
Compile JS functions as part of the QQmlCompiler run in the loader thread
...instead of extracting the function body as a string and compiling it in the
GUI thread.
Change-Id: I3c3108f6e35464b5581a2d8b5799e7285858ce4d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlvmemetaobject_p.h')
-rw-r--r-- | src/qml/qml/qqmlvmemetaobject_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlvmemetaobject_p.h b/src/qml/qml/qqmlvmemetaobject_p.h index 056139114c..25a577d2e6 100644 --- a/src/qml/qml/qqmlvmemetaobject_p.h +++ b/src/qml/qml/qqmlvmemetaobject_p.h @@ -119,9 +119,8 @@ struct QQmlVMEMetaData }; struct MethodData { + int runtimeFunctionIndex; int parameterCount; - int bodyOffset; - int bodyLength; quint16 lineNumber; }; @@ -159,7 +158,8 @@ class QQmlVMEMetaObjectEndpoint; class Q_QML_PRIVATE_EXPORT QQmlVMEMetaObject : public QAbstractDynamicMetaObject { public: - QQmlVMEMetaObject(QObject *obj, QQmlPropertyCache *cache, const QQmlVMEMetaData *data); + QQmlVMEMetaObject(QObject *obj, QQmlPropertyCache *cache, const QQmlVMEMetaData *data, + QV4::ExecutionContext *qmlBindingContext = 0, QQmlCompiledData *compiledData = 0); ~QQmlVMEMetaObject(); bool aliasTarget(int index, QObject **target, int *coreIndex, int *valueTypeIndex) const; |