aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqml.cpp')
-rw-r--r--src/qml/qml/qqml.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/qqml.cpp b/src/qml/qml/qqml.cpp
index 77c5226a97..d4eeff90a2 100644
--- a/src/qml/qml/qqml.cpp
+++ b/src/qml/qml/qqml.cpp
@@ -601,4 +601,9 @@ QJSValue QQmlPrivate::AOTCompiledContext::jsMetaType(int index) const
compilationUnit->runtimeClasses[index]->asReturnedValue());
}
+void QQmlPrivate::AOTCompiledContext::setInstructionPointer(int offset) const
+{
+ engine->handle()->currentStackFrame->instructionPointer = offset;
+}
+
QT_END_NAMESPACE