summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlinstruction_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-14 03:54:55 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-15 07:30:16 (GMT)
commit4f7e21dc04ce93531ef68f7694a5e8969448de8b (patch)
treece7e8170b5be6c974420d012a03f620f86cd6d8d /src/declarative/qml/qmlinstruction_p.h
parent9eca9e028884fb82d97e284826faa7965af356bd (diff)
downloadQt-4f7e21dc04ce93531ef68f7694a5e8969448de8b.zip
Qt-4f7e21dc04ce93531ef68f7694a5e8969448de8b.tar.gz
Qt-4f7e21dc04ce93531ef68f7694a5e8969448de8b.tar.bz2
Rework compiler to a two phase analyse/generate approach
Diffstat (limited to 'src/declarative/qml/qmlinstruction_p.h')
-rw-r--r--src/declarative/qml/qmlinstruction_p.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/declarative/qml/qmlinstruction_p.h b/src/declarative/qml/qmlinstruction_p.h
index 40f9a32..39196a1 100644
--- a/src/declarative/qml/qmlinstruction_p.h
+++ b/src/declarative/qml/qmlinstruction_p.h
@@ -118,8 +118,6 @@ public:
StoreSignal, /* storeSignal */
- // XXX need to handle storing objects in variants
-
//
// Unresolved single assignment
//
@@ -154,14 +152,6 @@ public:
// Deferred creation
//
Defer, /* defer */
-
- //
- // Expression optimizations
- //
- // PushProperty - Save the property for later use
- // StoreStackObject - Assign the stack object (no checks)
- PushProperty, /* pushProperty */
- StoreStackObject /* assignStackObject */
};
QmlInstruction()
: line(0) {}
@@ -170,7 +160,6 @@ public:
unsigned short line;
union {
struct {
- int dataSize;
int bindingsSize;
int parserStatusSize;
} init;
@@ -185,7 +174,6 @@ public:
} storeMeta;
struct {
int value;
- int save;
} setId;
struct {
int property;
@@ -198,7 +186,6 @@ public:
} assignBinding;
struct {
int property;
- bool isObject;
} fetch;
struct {
int property;
@@ -281,13 +268,6 @@ public:
int id;
} fetchAttached;
struct {
- int property;
- } pushProperty;
- struct {
- int property;
- int object;
- } assignStackObject;
- struct {
int deferCount;
} defer;
};