commit | 23ed9c1c97911d65f90759e0ef74769d27d57429 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Sep 24 22:07:33 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Sep 24 22:07:33 2003 +0000 |
tree | 06dc48b0d6c2190483336e2a424c4a00fb5ddc90 | |
parent | f8b5b6ddb49df916bccdcff0d7e8a2bf8a6bc3a3 [diff] [blame] |
Use global *_iterator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8703 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Instrumentation/EmitFunctions.cpp b/lib/Transforms/Instrumentation/EmitFunctions.cpp index a676edc..4f445bc 100644 --- a/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/lib/Transforms/Instrumentation/EmitFunctions.cpp
@@ -27,8 +27,7 @@ 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;