diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-24 22:07:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-24 22:07:33 +0000 |
commit | e317856e0ee74f90efc44327df664f96d53e2f18 (patch) | |
tree | 0592610d7b436e647a1e5f82dbc99ccc34f7a41d /llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp | |
parent | a940095ae2c1eaacb38cba0a7916b91772431d91 (diff) | |
download | bcm5719-llvm-e317856e0ee74f90efc44327df664f96d53e2f18.tar.gz bcm5719-llvm-e317856e0ee74f90efc44327df664f96d53e2f18.zip |
Use global *_iterator
llvm-svn: 8703
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp index a676edcc01b..4f445bc8682 100644 --- a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp @@ -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; |