diff --git a/src/scripting/vm/jit_call.cpp b/src/scripting/vm/jit_call.cpp index f0fe9e42a..0f8f85e82 100644 --- a/src/scripting/vm/jit_call.cpp +++ b/src/scripting/vm/jit_call.cpp @@ -463,7 +463,7 @@ void JitCompiler::EmitNativeCall(VMNativeFunction *target) break; } - cc.setArg(numparams + i - startret, regPtr); + call->setArg(numparams + i - startret, regPtr); } cc.setCursor(cursorAfter);