diff options
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
-rw-r--r-- | src/qml/compiler/qv4compiler_p.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h index 40b3fe25c0..6338babb5a 100644 --- a/src/qml/compiler/qv4compiler_p.h +++ b/src/qml/compiler/qv4compiler_p.h @@ -46,6 +46,8 @@ QT_BEGIN_NAMESPACE +class QQmlPropertyData; + namespace QV4 { namespace CompiledData { @@ -92,7 +94,13 @@ struct Q_QML_EXPORT JSUnitGenerator { QList<QList<CompiledData::JSClassMember> > jsClasses; uint jsClassDataSize; uint headerSize; - QHash<QQmlJS::V4IR::Function *, QSet<int> > qmlIdObjectDependenciesPerFunction; + + typedef QHash<QQmlJS::V4IR::Function *, QSet<int> > IdDependencyHash; + IdDependencyHash qmlIdObjectDependenciesPerFunction; + + typedef QHash<QQmlJS::V4IR::Function *, QSet<QQmlPropertyData*> > PropertyDependencyHash; + PropertyDependencyHash qmlContextPropertyDependenciesPerFunction; + PropertyDependencyHash qmlScopePropertyDependenciesPerFunction; }; } |