From af028f592b4934cbd92c42d94ee405f764edfb80 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sun, 29 May 2016 18:47:57 +0200 Subject: Moved object/bindings/customparser counters to CompilationUnit These allow pre-allocating some arrays when instantiating types. Change-Id: I2ca4ba4a69429918f03a5ba4c501c763e7ffa8dc Reviewed-by: Lars Knoll --- src/qml/qml/qqmlcompiler_p.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/qml/qml/qqmlcompiler_p.h') 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 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 *); -- cgit v1.2.3