[new compiler] Move component determination and alias resolving
authorSimon Hausmann <simon.hausmann@digia.com>
Thu, 12 Dec 2013 15:23:14 +0000 (16:23 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 9 Jan 2014 09:33:00 +0000 (10:33 +0100)
commit36a4cc1830d4179f327e3b5700794514f3f56e06
tree2534ff7bfef062fd0e7fce48a5cd987a23c9222b
parente2c2fcd1d18990d7d1b7286fc8f2b9f8269691e2
[new compiler] Move component determination and alias resolving

Move the code before the JS code generation, as we are going to need the
component boundaries for the correct scoping. This requires the component and
alias resolver to operate on the pre-compiled-data data structures.

Change-Id: I8d2e697d8a05e5a4914db93e785704f6b2434a2e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qqmltypecompiler.cpp
src/qml/qml/qqmlobjectcreator.cpp
src/qml/qml/qqmlobjectcreator_p.h