mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 22:26:16 +00:00
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:
parent
e65b9a48e3
commit
cd5e6dda7e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user