mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Do not use BasicBlock::*_iterator, just use *_iterator itself.
Isn't updating copy and pasted code a joy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,8 +57,7 @@ void CombineBranches::getBackEdgesVisit(BasicBlock *u,
|
||||
time++;
|
||||
d[u]=time;
|
||||
|
||||
for(BasicBlock::succ_iterator vl = succ_begin(u),
|
||||
ve = succ_end(u); vl != ve; ++vl){
|
||||
for (succ_iterator vl = succ_begin(u), ve = succ_end(u); vl != ve; ++vl){
|
||||
|
||||
BasicBlock *BB = *vl;
|
||||
|
||||
|
Reference in New Issue
Block a user