[new compiler] Fix test with aggressive gc
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 10 Feb 2014 08:06:07 +0000 (09:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 16 Feb 2014 21:08:32 +0000 (22:08 +0100)
commit6539a4c99d042a72db78b30e47e6cc1acd35f856
tree1d939be9bec18c850cc1938ce53ae2566760ea1a
parent037ac0f08e9365ecf58af52749f262de50d97752
[new compiler] Fix test with aggressive gc

We need a scope object protector right after creating the JS wrapper,
which is right after creating the VME meta object.

Change-Id: I76668027486a44bab35a3193b4c1c6fbab5c3e0e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlobjectcreator.cpp