diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-04-01 11:00:27 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-02 14:04:17 +0200 |
commit | c494da09794209d120c8df6b78074c07ad594a15 (patch) | |
tree | dd3c689c102ab05fc3d603ee33bc534a530cec46 /src/qml/compiler/qqmlirbuilder_p.h | |
parent | 4e012093462f07e7ffd42d4061539c54b4f43ace (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.h | 1 |
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; |