1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed inlining of stack restore instruction

This commit is contained in:
Brian Fiete 2022-04-17 10:18:51 -07:00
parent 0de3a62e8b
commit 501491d875

View file

@ -257,7 +257,7 @@ void BeInliner::Visit(BeStackSaveInst* stackSaveInst)
void BeInliner::Visit(BeStackRestoreInst* stackRestoreInst)
{
auto destStackRestoreInst = AllocInst(stackRestoreInst);
destStackRestoreInst->mStackVal = Remap(stackRestoreInst);
destStackRestoreInst->mStackVal = Remap(stackRestoreInst->mStackVal);
}
void BeInliner::Visit(BeObjectAccessCheckInst* objectAccessCheckInst)