diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-27 01:26:12 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-27 01:27:21 (GMT) |
commit | 6f1d4e8bdd9a11a4d35c8386e0c7e236bcfebd95 (patch) | |
tree | d14e4129940b5c584993ad9929b4d55500cf9a8c /src/declarative/qml/qmlvme.cpp | |
parent | 167cbed98b5d9fadbe5d6f506e3937a25e7189b1 (diff) | |
download | Qt-6f1d4e8bdd9a11a4d35c8386e0c7e236bcfebd95.zip Qt-6f1d4e8bdd9a11a4d35c8386e0c7e236bcfebd95.tar.gz Qt-6f1d4e8bdd9a11a4d35c8386e0c7e236bcfebd95.tar.bz2 |
Harden binding optimizer
Diffstat (limited to 'src/declarative/qml/qmlvme.cpp')
-rw-r--r-- | src/declarative/qml/qmlvme.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp index 06795a8..6b2e7af 100644 --- a/src/declarative/qml/qmlvme.cpp +++ b/src/declarative/qml/qmlvme.cpp @@ -627,23 +627,6 @@ QObject *QmlVME::run(QmlVMEStack<QObject *> &stack, QmlContext *ctxt, } break; - case QmlInstruction::StoreIdOptBinding: - { - int coreIndex = instr.assignIdOptBinding.property; - if (stack.count() == 1 && bindingSkipList.testBit(coreIndex)) - break; - - QObject *target = stack.top(); - - QmlBinding_Id *bind = - new QmlBinding_Id(target, instr.assignIdOptBinding.property, - ctxt, instr.assignIdOptBinding.id); - bindValues.append(bind); - bind->m_mePtr = &bindValues.values[bindValues.count - 1]; - bind->addToObject(target); - } - break; - case QmlInstruction::StoreValueSource: { QObject *obj = stack.pop(); |