mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed inlining of stack restore instruction
This commit is contained in:
parent
0de3a62e8b
commit
501491d875
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ void BeInliner::Visit(BeStackSaveInst* stackSaveInst)
|
||||||
void BeInliner::Visit(BeStackRestoreInst* stackRestoreInst)
|
void BeInliner::Visit(BeStackRestoreInst* stackRestoreInst)
|
||||||
{
|
{
|
||||||
auto destStackRestoreInst = AllocInst(stackRestoreInst);
|
auto destStackRestoreInst = AllocInst(stackRestoreInst);
|
||||||
destStackRestoreInst->mStackVal = Remap(stackRestoreInst);
|
destStackRestoreInst->mStackVal = Remap(stackRestoreInst->mStackVal);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BeInliner::Visit(BeObjectAccessCheckInst* objectAccessCheckInst)
|
void BeInliner::Visit(BeObjectAccessCheckInst* objectAccessCheckInst)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue