Mark strings stored in the lookups
authorLars Knoll <lars.knoll@digia.com>
Thu, 10 Oct 2013 09:29:19 +0000 (11:29 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 11 Oct 2013 06:56:17 +0000 (08:56 +0200)
Change-Id: I4cb72a3eee9f87305316137b0a1bfd4a003de840
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qv4compileddata.cpp

index 5c1c418..cd46730 100644 (file)
@@ -171,6 +171,8 @@ void CompilationUnit::markObjects()
     for (int i = 0; i < runtimeFunctions.count(); ++i)
         if (runtimeFunctions[i])
             runtimeFunctions[i]->mark();
+    for (int i = 0; i < data->lookupTableSize; ++i)
+        runtimeLookups[i].name->mark();
 }
 
 QString Binding::valueAsString(const Unit *unit) const