aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jit/qv4isel_masm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jit/qv4isel_masm.cpp')
-rw-r--r--src/qml/jit/qv4isel_masm.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/jit/qv4isel_masm.cpp b/src/qml/jit/qv4isel_masm.cpp
index 87a7a4a895..fd1edb0dc9 100644
--- a/src/qml/jit/qv4isel_masm.cpp
+++ b/src/qml/jit/qv4isel_masm.cpp
@@ -574,6 +574,11 @@ void InstructionSelection::loadThisObject(IR::Expr *temp)
#endif
}
+void InstructionSelection::loadQmlContext(IR::Expr *temp)
+{
+ generateFunctionCall(temp, Runtime::getQmlContext, Assembler::EngineRegister);
+}
+
void InstructionSelection::loadQmlIdArray(IR::Expr *temp)
{
generateFunctionCall(temp, Runtime::getQmlIdArray, Assembler::EngineRegister);