diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-10-09 09:37:08 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-11 22:55:08 +0200 |
commit | 28f67263a181e2d99b2c240f9d698bf64100ac92 (patch) | |
tree | 3c7c6287e00d6032ff53a78b7a9b0caa51cc9d23 /src/qml/qml/qqmlinstruction_p.h | |
parent | 774963f52f569e637f45d6c6079121253e54b61b (diff) |
Compile signal handler expressions in the loader thread
Handle them similar to function declarations, except that we need to synthesize
the expression into a function declaration that includes the signal parameter
names. This is done quite similar to the code path in the new compiler.
Change-Id: I751081f7f1052692da6e2ed60c7f5c017372d829
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlinstruction_p.h')
-rw-r--r-- | src/qml/qml/qqmlinstruction_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlinstruction_p.h b/src/qml/qml/qqmlinstruction_p.h index 14a038783d..01b6fa41a4 100644 --- a/src/qml/qml/qqmlinstruction_p.h +++ b/src/qml/qml/qqmlinstruction_p.h @@ -392,6 +392,7 @@ union QQmlInstruction }; struct instr_storeSignal { QML_INSTR_HEADER + int runtimeFunctionIndex; int handlerName; int parameters; int signalIndex; |