Remove debugging code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51666 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2008-05-29 08:15:48 +00:00
parent e65b9a48e3
commit cd5e6dda7e

View 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.