From d5b9b8e57aa8b1f804bbe57b8745ff85b96168da Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Tue, 27 Nov 2018 17:10:20 +0100 Subject: [PATCH] - fixed missing setRet call for REGT_POINTER return types --- src/scripting/vm/jit_call.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripting/vm/jit_call.cpp b/src/scripting/vm/jit_call.cpp index c4e58f260..c92fee735 100644 --- a/src/scripting/vm/jit_call.cpp +++ b/src/scripting/vm/jit_call.cpp @@ -445,6 +445,7 @@ void JitCompiler::EmitNativeCall(VMNativeFunction *target) break; case REGT_POINTER: tmp = newResultIntPtr(); + call->setRet(0, tmp); cc.mov(regA[regnum], tmp); break; case REGT_STRING: