Remove debugging code.
authorOwen Anderson <resistor@mac.com>
Thu, 29 May 2008 08:15:48 +0000 (08:15 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 29 May 2008 08:15:48 +0000 (08:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51666 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopDeletion.cpp

index 4073a7775d27b68c5e8064207dce0e0cc992377b..3c0e8662a25583bf4dc5553b5657b30b40ff210e 100644 (file)
@@ -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.