Fix incorrect pointer type

This commit is contained in:
Magnus Norddahl 2020-06-06 02:24:52 +02:00
parent 1c9df61c5d
commit 89e0332f08

View file

@ -88,13 +88,13 @@ void JitCompiler::EmitSO_R()
void JitCompiler::EmitSP()
{
EmitNullPointerThrow(A, X_WRITE_NIL);
cc.CreateStore(LoadA(B), OffsetPtr(LoadA(A), ConstD(C)));
cc.CreateStore(LoadA(B), ToInt8PtrPtr(LoadA(A), ConstD(C)));
}
void JitCompiler::EmitSP_R()
{
EmitNullPointerThrow(A, X_WRITE_NIL);
cc.CreateStore(LoadA(B), OffsetPtr(LoadA(A), LoadD(C)));
cc.CreateStore(LoadA(B), ToInt8PtrPtr(LoadA(A), LoadD(C)));
}
void JitCompiler::EmitSV2()