diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-03 06:06:46 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-03 06:06:46 (GMT) |
commit | 2b07e188b91d2cb92a2c41f85678415c4dbb3721 (patch) | |
tree | 445c524bf3a587a0c676b7895df76772eaaaf1bc /src/declarative/qml | |
parent | 00e793e43c51f2b8b8ac230812822155aef8362b (diff) | |
download | Qt-2b07e188b91d2cb92a2c41f85678415c4dbb3721.zip Qt-2b07e188b91d2cb92a2c41f85678415c4dbb3721.tar.gz Qt-2b07e188b91d2cb92a2c41f85678415c4dbb3721.tar.bz2 |
A collection of small optimizations.
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/qmlvme.cpp | 2 |
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: |