diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-05-29 18:47:57 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-31 06:55:13 +0000 |
commit | af028f592b4934cbd92c42d94ee405f764edfb80 (patch) | |
tree | e272ff7ee24c790fd972b9b92d4614cbfa86425b /src/qml/qml/qqmlcompiler_p.h | |
parent | 77773997d085e83c811fe1e312f0402b932a56ac (diff) |
Moved object/bindings/customparser counters to CompilationUnit
These allow pre-allocating some arrays when instantiating types.
Change-Id: I2ca4ba4a69429918f03a5ba4c501c763e7ffa8dc
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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h index b7c393c43a..75a6835ae6 100644 --- a/src/qml/qml/qqmlcompiler_p.h +++ b/src/qml/qml/qqmlcompiler_p.h @@ -124,10 +124,6 @@ public: QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit; - 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 - bool isInitialized() const { return hasEngine(); } void initialize(QQmlEngine *); |