summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-03-22 09:46:24 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2019-03-22 12:42:37 +0000
commit78888f485f1d70e98243deb2b6ab8911a7f8c9b2 (patch)
treef83d95084d528bce2c3c3ba1b7de039cfe93c8fc /tools
parent90a08b0c52fbe20ea3324f7315c04c48c95a8e61 (diff)
Enable lookups in QML files when compiling ahead of time
This should have been enabled in the series earlier when for QTBUG-69898. Change-Id: Ide7507d5dcf439463c22b631d49d654624737d1f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlcachegen/qmlcachegen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp
index 2b84a6babe..d6fae446a1 100644
--- a/tools/qmlcachegen/qmlcachegen.cpp
+++ b/tools/qmlcachegen/qmlcachegen.cpp
@@ -200,7 +200,6 @@ static bool compileQmlFile(const QString &inputFileName, SaveFunction saveFuncti
&irDocument.jsGenerator, &irDocument.jsModule,
&irDocument.jsParserEngine, irDocument.program,
&irDocument.jsGenerator.stringTable, illegalNames);
- v4CodeGen.setUseFastLookups(false); // Disable lookups in non-standalone (aka QML) mode
for (QmlIR::Object *object: qAsConst(irDocument.objects)) {
if (object->functionsAndExpressions->count == 0)
continue;