diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-17 08:43:46 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-17 08:43:46 (GMT) |
commit | 5f4cfb9209781129c12ea4c91829787499bb38b1 (patch) | |
tree | 9eaef05ebe3e72472f6dd6b43694895bc218c955 /src/declarative/qml/qmlbasicscript.cpp | |
parent | b27bc8ef235e4e72cbe2ca0ee9d8f4587e564976 (diff) | |
download | Qt-5f4cfb9209781129c12ea4c91829787499bb38b1.zip Qt-5f4cfb9209781129c12ea4c91829787499bb38b1.tar.gz Qt-5f4cfb9209781129c12ea4c91829787499bb38b1.tar.bz2 |
Add some basic QML benchmarks
Diffstat (limited to 'src/declarative/qml/qmlbasicscript.cpp')
-rw-r--r-- | src/declarative/qml/qmlbasicscript.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlbasicscript.cpp b/src/declarative/qml/qmlbasicscript.cpp index 40ffffe..3fe24ea 100644 --- a/src/declarative/qml/qmlbasicscript.cpp +++ b/src/declarative/qml/qmlbasicscript.cpp @@ -443,6 +443,18 @@ void QmlBasicScript::dump() qWarning().nospace() << "FETCH\t\t" << instr.fetch.idx << "\t\t" << QByteArray(data + instr.fetch.idx); break; + case ScriptInstruction::LoadIdObject: + qWarning().nospace() << "LOAD_ID_OBJECT"; + break; + case ScriptInstruction::FetchConstant: + qWarning().nospace() << "FETCH_CONSTANT"; + break; + case ScriptInstruction::FetchD0Constant: + qWarning().nospace() << "FETCH_D0_CONSTANT"; + break; + case ScriptInstruction::FetchD1Constant: + qWarning().nospace() << "FETCH_D1_CONSTANT"; + break; case ScriptInstruction::Equals: qWarning().nospace() << "EQUALS"; break; |