diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-07 15:17:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-07 15:17:02 +0000 |
commit | 800aaaf207a89c3c1e10c3a5cf6155562de248f7 (patch) | |
tree | 1e664f78901dfa13d164cf15b2b3c4e24bf1f264 /llvm/lib/Transforms/Scalar | |
parent | 06636c2bebe6425d42e98258de8ab5a5fd4c1993 (diff) | |
download | bcm5719-llvm-800aaaf207a89c3c1e10c3a5cf6155562de248f7.tar.gz bcm5719-llvm-800aaaf207a89c3c1e10c3a5cf6155562de248f7.zip |
Fix bug in previous checkin
llvm-svn: 8922
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index b2b63af05d1..a8234b3c4b4 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -1960,6 +1960,7 @@ bool InstCombiner::runOnFunction(Function &F) { ++NumConstProp; I->getParent()->getInstList().erase(I); + removeFromWorkList(I); continue; } |