projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b5b6d
)
Use global *_iterator
author
Chris Lattner
<sabre@nondot.org>
Wed, 24 Sep 2003 22:07:33 +0000
(22:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 24 Sep 2003 22:07:33 +0000
(22:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8703
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Instrumentation/EmitFunctions.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Instrumentation/EmitFunctions.cpp
b/lib/Transforms/Instrumentation/EmitFunctions.cpp
index a676edcc01b053f0fe29c56f2c659b4985073214..4f445bc868258b355bcb526fa8e600da18dbba25 100644
(file)
--- 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;