Do not use BasicBlock::*_iterator, just use *_iterator itself.
Isn't updating copy and pasted code a joy

llvm-svn: 8702
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index aa46048..9629962 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
@@ -98,8 +98,7 @@
     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){
       Node *nd2=findBB(nodes,*s);
       assert(nd2 && "No node for this edge!");
       Edge ed(nd,nd2,0);