From 2bb309af8b2e32bd34644bed363f5880c50221af Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sun, 29 May 2016 19:21:54 +0200 Subject: Moved resolved type references over to QV4::CompiledData::CompilationUnit Change-Id: I99bb37bf4d4aa4aedd8e02a0fb4afb4a908573a6 Reviewed-by: Erik Verbruggen --- src/qml/qml/qqmlcompiler_p.h | 27 --------------------------- 1 file changed, 27 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 2c9e04d5e0..39fa84df3d 100644 --- a/src/qml/qml/qqmlcompiler_p.h +++ b/src/qml/qml/qqmlcompiler_p.h @@ -93,33 +93,6 @@ public: int listMetaTypeId; bool isRegisteredWithEngine; - struct TypeReference - { - TypeReference() - : type(0), typePropertyCache(0), component(0) - , majorVersion(0) - , minorVersion(0) - , isFullyDynamicType(false) - {} - - QQmlType *type; - QQmlPropertyCache *typePropertyCache; - QQmlCompiledData *component; - - int majorVersion; - int minorVersion; - // Types such as QQmlPropertyMap can add properties dynamically at run-time and - // therefore cannot have a property cache installed when instantiated. - bool isFullyDynamicType; - - QQmlPropertyCache *propertyCache() const; - QQmlPropertyCache *createPropertyCache(QQmlEngine *); - - void doDynamicTypeCheck(); - }; - // map from name index - QHash resolvedTypes; - QQmlRefPointer compilationUnit; bool isInitialized() const { return hasEngine(); } -- cgit v1.2.3