diff options
author | Owen Anderson <resistor@mac.com> | 2008-05-29 08:15:48 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-05-29 08:15:48 +0000 |
commit | f4aece5976997fda705d7470105156d5b8a850ee (patch) | |
tree | 847d79dcb99c2c33047a41f8566f844ad7a075e3 /llvm/lib/Transforms/Scalar/LoopDeletion.cpp | |
parent | 6892c5507f9bd3b55864b9fb99f3b9b0404f98dd (diff) | |
download | bcm5719-llvm-f4aece5976997fda705d7470105156d5b8a850ee.tar.gz bcm5719-llvm-f4aece5976997fda705d7470105156d5b8a850ee.zip |
Remove debugging code.
llvm-svn: 51666
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDeletion.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopDeletion.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopDeletion.cpp b/llvm/lib/Transforms/Scalar/LoopDeletion.cpp index 4073a7775d2..3c0e8662a25 100644 --- a/llvm/lib/Transforms/Scalar/LoopDeletion.cpp +++ b/llvm/lib/Transforms/Scalar/LoopDeletion.cpp @@ -258,12 +258,8 @@ bool LoopDeletion::runOnLoop(Loop* L, LPPassManager& LPM) { // NOTE: This iteration is safe because erasing the block does not remove its // entry from the loop's block list. We do that in the next section. for (Loop::block_iterator LI = L->block_begin(), LE = L->block_end(); - LI != LE; ++LI) { - for (Value::use_iterator UI = (*LI)->use_begin(), UE = (*LI)->use_end(); - UI != UE; ++UI) - (*UI)->dump(); + LI != LE; ++LI) (*LI)->eraseFromParent(); - } // Finally, the blocks from loopinfo. This has to happen late because // otherwise our loop iterators won't work. |