Fix bug in previous checkin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-10-07 15:17:02 +00:00
parent bd082800ec
commit 6061000b54

View File

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