aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmlirbuilder_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-04-01 11:00:27 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-02 14:04:17 +0200
commitc494da09794209d120c8df6b78074c07ad594a15 (patch)
treedd3c689c102ab05fc3d603ee33bc534a530cec46 /src/qml/compiler/qqmlirbuilder_p.h
parent4e012093462f07e7ffd42d4061539c54b4f43ace (diff)
Reduce memory consumption of runtime compiled QML types
Don't store the string of binding scripts in the compiled data. The only exception to the rule are properties of type QQmlScriptString as well as types with custom parsers. Change-Id: I7f53262bf957b442bac4db71d0a2c0bed74a9b54 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder_p.h')
-rw-r--r--src/qml/compiler/qqmlirbuilder_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qqmlirbuilder_p.h b/src/qml/compiler/qqmlirbuilder_p.h
index cd67c52ed7..4ea7e05639 100644
--- a/src/qml/compiler/qqmlirbuilder_p.h
+++ b/src/qml/compiler/qqmlirbuilder_p.h
@@ -283,6 +283,7 @@ public:
Binding *findBinding(quint32 nameIndex) const;
Binding *unlinkBinding(Binding *before, Binding *binding) { return bindings->unlink(before, binding); }
void insertSorted(Binding *b);
+ QString bindingAsString(Document *doc, int scriptIndex) const;
PoolList<CompiledFunctionOrExpression> *functionsAndExpressions;
FixedPoolArray<int> *runtimeFunctionIndices;