From cb1153272ab0c9b6e03a7704311c1c8382e9d6c4 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 30 Nov 2018 16:55:22 +0100 Subject: [PATCH] - fix native call crash and assertion error --- src/scripting/vm/jit_call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/vm/jit_call.cpp b/src/scripting/vm/jit_call.cpp index f0fe9e42a0..0f8f85e826 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);