[llvm-commits] [llvm] r51666 - /llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp

Owen Anderson resistor at mac.com
Thu May 29 01:15:50 PDT 2008


Author: resistor
Date: Thu May 29 03:15:48 2008
New Revision: 51666

URL: http://llvm.org/viewvc/llvm-project?rev=51666&view=rev
Log:
Remove debugging code.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp?rev=51666&r1=51665&r2=51666&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp Thu May 29 03:15:48 2008
@@ -258,12 +258,8 @@
   // 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.





More information about the llvm-commits mailing list