From eeb08d9537d0b4e77b91848169e0bb79ec3d912c Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 3 Jan 2017 13:19:15 +0100 Subject: Re-do QML type compilation of ahead-of-time generated QML cache files As we currently lack the ability to do type resolution at AOT cache generation time, we need to re-do the work after loading the cache file, making us essentially only re-use the code and avoiding the step of parsing. Change-Id: I12844692d4766345d8a313b59d21abf1f868e2d1 Reviewed-by: Lars Knoll --- src/qml/qml/qqmltypeloader_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/qml/qqmltypeloader_p.h') diff --git a/src/qml/qml/qqmltypeloader_p.h b/src/qml/qml/qqmltypeloader_p.h index 789330297c..915b1bcc4c 100644 --- a/src/qml/qml/qqmltypeloader_p.h +++ b/src/qml/qml/qqmltypeloader_p.h @@ -446,6 +446,7 @@ protected: private: bool tryLoadFromDiskCache(); bool loadFromSource(); + void restoreIR(QQmlRefPointer unit); void continueLoadFromIR(); void resolveTypes(); QQmlCompileError buildTypeResolutionCaches( -- cgit v1.2.3