Skip to content

Commit f02a84c

Browse files
generatedunixname537391475639613facebook-github-bot
authored andcommitted
fbcode/cinderx/Jit/hir/pass.cpp
Reviewed By: jbower-fb Differential Revision: D83454538 fbshipit-source-id: 30c421eb99c12dffa8ac381da8d23d9594502c7d
1 parent bcffd43 commit f02a84c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cinderx/Jit/hir/pass.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -720,10 +720,10 @@ bool removeUnreachableInstructions(CFG* cfg) {
720720
}
721721
// Remove all instructions after the Unreachable
722722
while (it != block->end()) {
723-
Instr& instr = *it;
723+
Instr& instrToDelete = *it;
724724
++it;
725-
instr.unlink();
726-
delete &instr;
725+
instrToDelete.unlink();
726+
delete &instrToDelete;
727727
}
728728
}
729729
if (block->begin()->IsUnreachable()) {

0 commit comments

Comments
 (0)