aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_moth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
-rw-r--r--src/qml/compiler/qv4isel_moth.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp
index 59099159c1..30ec6f2d01 100644
--- a/src/qml/compiler/qv4isel_moth.cpp
+++ b/src/qml/compiler/qv4isel_moth.cpp
@@ -565,6 +565,13 @@ void InstructionSelection::loadThisObject(IR::Expr *e)
addInstruction(load);
}
+void InstructionSelection::loadQmlContext(IR::Expr *e)
+{
+ Instruction::LoadQmlContext load;
+ load.result = getResultParam(e);
+ addInstruction(load);
+}
+
void InstructionSelection::loadQmlIdArray(IR::Expr *e)
{
Instruction::LoadQmlIdArray load;