aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-24 22:07:33 +0000
committerChris Lattner <sabre@nondot.org>2003-09-24 22:07:33 +0000
commit23ed9c1c97911d65f90759e0ef74769d27d57429 (patch)
tree06dc48b0d6c2190483336e2a424c4a00fb5ddc90 /lib/Transforms/Instrumentation
parentf8b5b6ddb49df916bccdcff0d7e8a2bf8a6bc3a3 (diff)
downloadexternal_llvm-23ed9c1c97911d65f90759e0ef74769d27d57429.zip
external_llvm-23ed9c1c97911d65f90759e0ef74769d27d57429.tar.gz
external_llvm-23ed9c1c97911d65f90759e0ef74769d27d57429.tar.bz2
Use global *_iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r--lib/Transforms/Instrumentation/EmitFunctions.cpp3
1 files changed, 1 insertions, 2 deletions
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 @@ 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;