- fixed missing setRet call for REGT_POINTER return types

This commit is contained in:
Magnus Norddahl 2018-11-27 17:10:20 +01:00
parent 9dbb1d77ce
commit d5b9b8e57a

View file

@ -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: