summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativedeclarativedata_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-12 07:07:12 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-17 00:20:46 (GMT)
commita88c755e511d3aea726bd0e096621054af18ce01 (patch)
treee53919480f21ed2d5efdcc09792ddd81cf84e6ba /src/declarative/qml/qdeclarativedeclarativedata_p.h
parentdc829ac31694f382bf7b8a0702f73409762e36f0 (diff)
downloadQt-a88c755e511d3aea726bd0e096621054af18ce01.zip
Qt-a88c755e511d3aea726bd0e096621054af18ce01.tar.gz
Qt-a88c755e511d3aea726bd0e096621054af18ce01.tar.bz2
Optimization: Combine QDeclarativeDeclarativeData and QObject allocations
Diffstat (limited to 'src/declarative/qml/qdeclarativedeclarativedata_p.h')
-rw-r--r--src/declarative/qml/qdeclarativedeclarativedata_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativedeclarativedata_p.h b/src/declarative/qml/qdeclarativedeclarativedata_p.h
index ffce9c9..f962986 100644
--- a/src/declarative/qml/qdeclarativedeclarativedata_p.h
+++ b/src/declarative/qml/qdeclarativedeclarativedata_p.h
@@ -67,7 +67,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeDeclarativeData : public QDeclarativeData
{
public:
QDeclarativeDeclarativeData(QDeclarativeContext *ctxt = 0)
- : indestructible(true), explicitIndestructibleSet(false), context(ctxt),
+ : ownMemory(true), indestructible(true), explicitIndestructibleSet(false), context(ctxt),
bindings(0), nextContextObject(0), prevContextObject(0), bindingBitsSize(0), bindingBits(0),
outerContext(0), lineNumber(0), columnNumber(0), deferredComponent(0), deferredIdx(0),
attachedProperties(0), propertyCache(0), guards(0) {}
@@ -79,6 +79,7 @@ public:
if (!explicitIndestructibleSet) indestructible = false;
}
+ quint32 ownMemory:1;
quint32 indestructible:1;
quint32 explicitIndestructibleSet:1;
quint32 dummy:29;