Fix bug in previous checkin

llvm-svn: 8922
This commit is contained in:
Chris Lattner 2003-10-07 15:17:02 +00:00
parent 06636c2beb
commit 800aaaf207
1 changed files with 1 additions and 0 deletions

View File

@ -1960,6 +1960,7 @@ bool InstCombiner::runOnFunction(Function &F) {
++NumConstProp;
I->getParent()->getInstList().erase(I);
removeFromWorkList(I);
continue;
}