mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
Successfully compile and run StatusScreen.drawNum with the new JIT
This commit is contained in:
parent
02653abf4a
commit
a8f8d8b659
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ void JitCompiler::EmitRET()
|
|||
cc.CreateCondBr(cc.CreateICmpSLE(ConstValueD(retnum), numret), ifbb, endifbb);
|
||||
cc.SetInsertPoint(ifbb);
|
||||
|
||||
IRValue* location = OffsetPtr(ret, retnum * sizeof(VMReturn));
|
||||
IRValue* location = Load(ToInt8PtrPtr(ret, retnum * sizeof(VMReturn)));
|
||||
|
||||
int regtype = B;
|
||||
int regnum = C;
|
||||
|
@ -185,7 +185,7 @@ void JitCompiler::EmitRETI()
|
|||
cc.CreateCondBr(cc.CreateICmpSLE(ConstValueD(retnum), numret), ifbb, endifbb);
|
||||
cc.SetInsertPoint(ifbb);
|
||||
|
||||
IRValue* location = OffsetPtr(ret, retnum * sizeof(VMReturn));
|
||||
IRValue* location = Load(ToInt8PtrPtr(ret, retnum * sizeof(VMReturn)));
|
||||
Store(ConstValueD(BCs), ToInt32Ptr(location));
|
||||
|
||||
if (a & RET_FINAL)
|
||||
|
|
Loading…
Reference in a new issue