aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4generatorobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4generatorobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4generatorobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4generatorobject.cpp b/src/qml/jsruntime/qv4generatorobject.cpp
index 25da2d0a75..d5ae863856 100644
--- a/src/qml/jsruntime/qv4generatorobject.cpp
+++ b/src/qml/jsruntime/qv4generatorobject.cpp
@@ -132,7 +132,7 @@ ReturnedValue GeneratorFunction::virtualCall(const FunctionObject *f, const Valu
gp->cppFrame.parent = engine->currentStackFrame;
engine->currentStackFrame = &gp->cppFrame;
- Moth::VME::interpret(gp->cppFrame, function->codeData);
+ Moth::VME::interpret(&gp->cppFrame, engine, function->codeData);
gp->state = GeneratorState::SuspendedStart;
engine->currentStackFrame = gp->cppFrame.parent;
@@ -236,7 +236,7 @@ ReturnedValue GeneratorObject::resume(ExecutionEngine *engine, const Value &arg)
gp->cppFrame.jsFrame->accumulator = arg;
Scope scope(engine);
- ScopedValue result(scope, Moth::VME::interpret(gp->cppFrame, code));
+ ScopedValue result(scope, Moth::VME::interpret(&gp->cppFrame, engine, code));
engine->currentStackFrame = gp->cppFrame.parent;