aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmlirbuilder_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2016-05-24 15:44:05 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-05-26 11:32:56 +0000
commit899c1ef0f7574019f1b41a922b2ba10614df130f (patch)
tree13fa3754d40c84a42add0145e57943be311e87ba /src/qml/compiler/qqmlirbuilder_p.h
parent2cb3466baae362abbafc9d79db7369edac2355ba (diff)
Add a flag to CompiledData::Object record component boundaries
This allows simplifying some code and reducing the usage of the objectIndexToId hash maps. Change-Id: I1f08d4b224c4f9fa498d90471fa545ae4e4f2af4 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder_p.h')
-rw-r--r--src/qml/compiler/qqmlirbuilder_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/compiler/qqmlirbuilder_p.h b/src/qml/compiler/qqmlirbuilder_p.h
index c46acc2481..1d9b4c807a 100644
--- a/src/qml/compiler/qqmlirbuilder_p.h
+++ b/src/qml/compiler/qqmlirbuilder_p.h
@@ -280,8 +280,9 @@ struct Q_QML_PRIVATE_EXPORT Object
public:
quint32 inheritedTypeNameIndex;
quint32 idIndex;
- int indexOfDefaultPropertyOrAlias : 31;
- int defaultPropertyIsAlias : 1;
+ int indexOfDefaultPropertyOrAlias;
+ bool defaultPropertyIsAlias;
+ int flags;
QV4::CompiledData::Location location;
QV4::CompiledData::Location locationOfIdProperty;