summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlvme.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-03 06:06:46 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-03 06:06:46 (GMT)
commit2b07e188b91d2cb92a2c41f85678415c4dbb3721 (patch)
tree445c524bf3a587a0c676b7895df76772eaaaf1bc /src/declarative/qml/qmlvme.cpp
parent00e793e43c51f2b8b8ac230812822155aef8362b (diff)
downloadQt-2b07e188b91d2cb92a2c41f85678415c4dbb3721.zip
Qt-2b07e188b91d2cb92a2c41f85678415c4dbb3721.tar.gz
Qt-2b07e188b91d2cb92a2c41f85678415c4dbb3721.tar.bz2
A collection of small optimizations.
Diffstat (limited to 'src/declarative/qml/qmlvme.cpp')
-rw-r--r--src/declarative/qml/qmlvme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp
index 3968d8d..24ac565 100644
--- a/src/declarative/qml/qmlvme.cpp
+++ b/src/declarative/qml/qmlvme.cpp
@@ -158,7 +158,7 @@ QObject *QmlVME::run(QmlVMEStack<QObject *> &stack, QmlContext *ctxt,
QmlMetaProperty::WriteFlags flags = QmlMetaProperty::BypassInterceptor;
for (int ii = start; !isError() && ii < (start + count); ++ii) {
- QmlInstruction &instr = comp->bytecode[ii];
+ const QmlInstruction &instr = comp->bytecode.at(ii);
switch(instr.type) {
case QmlInstruction::Init: