aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopDeletion.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-05-29 08:15:48 +0000
committerOwen Anderson <resistor@mac.com>2008-05-29 08:15:48 +0000
commitcd5e6dda7e91af662f378e43842e6d2d55ec3057 (patch)
treee9a4ff2cf0b0c60dde7b0a0001132092d3c8bab1 /lib/Transforms/Scalar/LoopDeletion.cpp
parente65b9a48e311b528237fdf98516ff1ab9d37a2c8 (diff)
Remove debugging code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopDeletion.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopDeletion.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/LoopDeletion.cpp b/lib/Transforms/Scalar/LoopDeletion.cpp
index 4073a7775d..3c0e8662a2 100644
--- a/lib/Transforms/Scalar/LoopDeletion.cpp
+++ b/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.