Remove debugging code.

llvm-svn: 51666
This commit is contained in:
Owen Anderson 2008-05-29 08:15:48 +00:00
parent 6892c5507f
commit f4aece5976
1 changed files with 1 additions and 5 deletions

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 // 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. // 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(); for (Loop::block_iterator LI = L->block_begin(), LE = L->block_end();
LI != LE; ++LI) { LI != LE; ++LI)
for (Value::use_iterator UI = (*LI)->use_begin(), UE = (*LI)->use_end();
UI != UE; ++UI)
(*UI)->dump();
(*LI)->eraseFromParent(); (*LI)->eraseFromParent();
}
// Finally, the blocks from loopinfo. This has to happen late because // Finally, the blocks from loopinfo. This has to happen late because
// otherwise our loop iterators won't work. // otherwise our loop iterators won't work.