- fix native call crash and assertion error

This commit is contained in:
Magnus Norddahl 2018-11-30 16:55:22 +01:00
parent 6e598274f7
commit cb1153272a

View file

@ -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);