1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Fix the count of the number of instructions removed

llvm-svn: 11049
This commit is contained in:
Chris Lattner 2004-02-01 05:15:07 +00:00
parent 107cf3892c
commit 3575c84933

View File

@ -144,6 +144,7 @@ bool ADCE::dropReferencesOfDeadInstructionsInLiveBlock(BasicBlock *BB) {
// Delete the instruction...
I = BB->getInstList().erase(I);
Changed = true;
++NumInstRemoved;
} else {
++I;
}