Skip to content

Commit cea4801

Browse files
committed
[BOLT] Bug fix: remove usage of outdated reference
1 parent 59112e3 commit cea4801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/lib/Passes/InsertNegateRAStatePass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void InsertNegateRAState::runOnFunction(BinaryFunction &BF) {
7878
} else {
7979
FirstIter = false;
8080
}
81-
PrevInst = Inst;
81+
PrevInst = *It;
8282
}
8383
PrevBB = *BB;
8484
}

0 commit comments

Comments
 (0)