mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +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:
@ -216,8 +216,7 @@ void getBBtrace(vector<BasicBlock *> &vBB, int pathNo, Function *M){//,
|
||||
Node *nd=findBB(nodes, BB);
|
||||
assert(nd && "No node for this edge!");
|
||||
|
||||
for(BasicBlock::succ_iterator s=succ_begin(BB), se=succ_end(BB);
|
||||
s!=se; ++s){
|
||||
for(succ_iterator s=succ_begin(BB), se=succ_end(BB); s!=se; ++s){
|
||||
|
||||
if(triggerBBs[*s] == 9){
|
||||
//if(!pathReg[M]){ //Get the path register for this!
|
||||
|
Reference in New Issue
Block a user