diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2015-01-17 23:11:20 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@viroteck.net> | 2015-01-20 22:11:27 +0100 |
commit | fdec43a1ff7d8ff8a9cd014e7282e95d262fe5ed (patch) | |
tree | 21c5411cc0061191ef4a919d4d528e7f37aa5dd7 /src/qml | |
parent | 13d3d86bbf7fe4c054824d485021e13d87fc4837 (diff) |
QQmlData: More member reorganisation to remove holes.
Drops size from 136 bytes to 128 bytes on x86_64.
Change-Id: I008f899539fcae8ad29b8978116e6dce2e10a40e
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/qml/qqmldata_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/qml/qqmldata_p.h b/src/qml/qml/qqmldata_p.h index 32fabcc365..e099f9815e 100644 --- a/src/qml/qml/qqmldata_p.h +++ b/src/qml/qml/qqmldata_p.h @@ -77,7 +77,7 @@ public: hasTaintedV8Object(false), isQueuedForDeletion(false), rootObjectInCreation(false), hasVMEMetaObject(false), parentFrozen(false), bindingBitsSize(0), bindingBits(0), notifyList(0), context(0), outerContext(0), bindings(0), signalHandlers(0), nextContextObject(0), prevContextObject(0), - lineNumber(0), columnNumber(0), compiledData(0), deferredData(0), jsEngineId(0), + lineNumber(0), columnNumber(0), jsEngineId(0), compiledData(0), deferredData(0), propertyCache(0), guards(0), extendedData(0) { init(); } @@ -169,6 +169,8 @@ public: quint16 lineNumber; quint16 columnNumber; + quint32 jsEngineId; // id of the engine that created the jsWrapper + struct DeferredData { unsigned int deferredIdx; QQmlCompiledData *compiledData;//Not always the same as the other compiledData @@ -177,7 +179,6 @@ public: QQmlCompiledData *compiledData; DeferredData *deferredData; - quint32 jsEngineId; // id of the engine that cerated the jsWrapper QV4::WeakValue jsWrapper; QQmlPropertyCache *propertyCache; |