mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Use global *_iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f8b5b6ddb4
commit
23ed9c1c97
@ -27,8 +27,7 @@ namespace {
|
||||
char doDFS(BasicBlock * node,std::map<BasicBlock *, Color > &color){
|
||||
color[node] = GREY;
|
||||
|
||||
for(BasicBlock::succ_iterator vl = succ_begin(node),
|
||||
ve = succ_end(node); vl != ve; ++vl){
|
||||
for(succ_iterator vl = succ_begin(node), ve = succ_end(node); vl != ve; ++vl){
|
||||
|
||||
BasicBlock *BB = *vl;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user