Skip to content

Commit

Permalink
Fix incorrect pointer type
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Jun 6, 2020
1 parent 1c9df61 commit 89e0332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/scripting/jit/jit_store.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit 89e0332

Please sign in to comment.