summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlinstruction_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-26 07:46:40 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-26 07:46:40 (GMT)
commitd010e6e53c1f3c2704eb3c548e58e8f37febcc29 (patch)
treeef4e2b8fed66e056eacf4c1d9fd816b8a8cce52b /src/declarative/qml/qmlinstruction_p.h
parent59c3a7ca89742992e3737e8bb03c7e3eacf578e1 (diff)
downloadQt-d010e6e53c1f3c2704eb3c548e58e8f37febcc29.zip
Qt-d010e6e53c1f3c2704eb3c548e58e8f37febcc29.tar.gz
Qt-d010e6e53c1f3c2704eb3c548e58e8f37febcc29.tar.bz2
Remove the NoOp instruction
Diffstat (limited to 'src/declarative/qml/qmlinstruction_p.h')
-rw-r--r--src/declarative/qml/qmlinstruction_p.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/declarative/qml/qmlinstruction_p.h b/src/declarative/qml/qmlinstruction_p.h
index bc696b1..47a8d76 100644
--- a/src/declarative/qml/qmlinstruction_p.h
+++ b/src/declarative/qml/qmlinstruction_p.h
@@ -143,17 +143,10 @@ public:
// StoreStackObject - Assign the stack object (no checks)
PushProperty, /* pushProperty */
AssignStackObject, /* assignStackObject */
- StoreStackObject, /* assignStackObject */
-
-
- //
- // Miscellaneous
- //
- // NoOp - Do nothing
- NoOp
+ StoreStackObject /* assignStackObject */
};
QmlInstruction()
- : type(NoOp), line(0) {}
+ : line(0) {}
Type type;
unsigned short line;