mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Remove the the block_node_iterator of Region, replace it by the block_iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -195,10 +195,9 @@ public:
|
||||
|
||||
virtual bool runOnRegion(Region *R, RGPassManager &RGM) {
|
||||
Out << Banner;
|
||||
for (Region::block_node_iterator I = R->block_node_begin(),
|
||||
E = R->block_node_end();
|
||||
for (Region::block_iterator I = R->block_begin(), E = R->block_end();
|
||||
I != E; ++I)
|
||||
(*I)->getEntry()->print(Out);
|
||||
(*I)->print(Out);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user