diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-05-29 09:33:26 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-31 06:55:02 +0000 |
commit | 3241573e1a72f2829d1339cd5bbe62f30d93c37f (patch) | |
tree | 1d97a226af23f8a92591a4cbdb97a2dfc7b941e2 /src/qml/compiler/qqmltypecompiler_p.h | |
parent | 7dc5cd942eb5c55a26d539eedff48b2d6c8e0fc3 (diff) |
Move property caches from QQmlCompiledData to QV4::CompiledData::CompilationUnit
This makes particularly sense as the binding property data per object that
allows us to avoid a by-name property lookup when instantiating types is also
stored there.
Change-Id: I4d9275c1d8fde252df83eb11a9dfea71e5e9583a
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/compiler/qqmltypecompiler_p.h')
-rw-r--r-- | src/qml/compiler/qqmltypecompiler_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qqmltypecompiler_p.h b/src/qml/compiler/qqmltypecompiler_p.h index 64d2e6c925..d84753347a 100644 --- a/src/qml/compiler/qqmltypecompiler_p.h +++ b/src/qml/compiler/qqmltypecompiler_p.h @@ -123,6 +123,7 @@ private: // index in first hash is component index, vector inside contains object indices of objects with id property QVector<quint32> m_componentRoots; + QQmlPropertyCacheVector m_propertyCaches; }; struct QQmlCompilePass |