Compile signal handler expressions in the loader thread
authorSimon Hausmann <simon.hausmann@digia.com>
Wed, 9 Oct 2013 07:37:08 +0000 (09:37 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 11 Oct 2013 20:55:08 +0000 (22:55 +0200)
commit28f67263a181e2d99b2c240f9d698bf64100ac92
tree3c7c6287e00d6032ff53a78b7a9b0caa51cc9d23
parent774963f52f569e637f45d6c6079121253e54b61b
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>
src/qml/qml/qqmlcompiler.cpp
src/qml/qml/qqmlcompiler_p.h
src/qml/qml/qqmlinstruction_p.h
src/qml/qml/qqmlscript_p.h
src/qml/qml/qqmlvme.cpp