diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-26 16:26:33 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-30 07:16:17 +0000 |
commit | f27d058c11b54b3c5f72d41c25cb00657b49a37b (patch) | |
tree | 9210b7c5f9af1016c495086470582b69fadc9e85 /src/qml/qml/qqmlcompiler_p.h | |
parent | 515efdb8a65dc8ba22a56a02ee6d7056f39619cb (diff) |
Centralize deferred binding bit information in CompiledData::Binding
Ultimately the decision which bindings to initialize in a deferred way depends
on the data in the meta-object (deferred property names entry). The hash in
QQmlCompiledData is just caching this information. We are better off storing
this single bit right in the binding itself instead of in a parallel data
structure.
Change-Id: Ib66d3550210af1f882b98b0ba9089391813d69ad
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlcompiler_p.h')
-rw-r--r-- | src/qml/qml/qqmlcompiler_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h index cd2c533150..c4883a6279 100644 --- a/src/qml/qml/qqmlcompiler_p.h +++ b/src/qml/qml/qqmlcompiler_p.h @@ -133,7 +133,6 @@ public: QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit; // hash key is object index, value is indicies of bindings covered by custom parser QHash<int, QBitArray> customParserBindings; - QHash<int, QBitArray> deferredBindingsPerObject; // index is object index int totalBindingsCount; // Number of bindings used in this type int totalParserStatusCount; // Number of instantiated types that are QQmlParserStatus subclasses int totalObjectCount; // Number of objects explicitly instantiated |