Browse Source

Fixed inlining of stack restore instruction

Brian Fiete 3 năm trước cách đây
mục cha
commit
501491d875
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      IDEHelper/Backend/BeModule.cpp

+ 1 - 1
IDEHelper/Backend/BeModule.cpp

@@ -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)