diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-10-10 11:29:19 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-11 08:56:17 +0200 |
commit | 979e625dc1ff257c1793bbd7ebd8001c25a11872 (patch) | |
tree | 300ad31c3369db12c26ad4f5825f1ed5fa95133d /src/qml/compiler | |
parent | 45dbc9f1bb72f9661b43d632d82d634ef52f662e (diff) |
Mark strings stored in the lookups
Change-Id: I4cb72a3eee9f87305316137b0a1bfd4a003de840
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler')
-rw-r--r-- | src/qml/compiler/qv4compileddata.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compileddata.cpp b/src/qml/compiler/qv4compileddata.cpp index 5c1c41814d..cd467300be 100644 --- a/src/qml/compiler/qv4compileddata.cpp +++ b/src/qml/compiler/qv4compileddata.cpp @@ -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 |