summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-03-25 23:25:28 +0000
committerGabor Greif <ggreif@gmail.com>2010-03-25 23:25:28 +0000
commit6c6b2fd2b2484e06b91bb258201b9a75416e011a (patch)
tree1db1a318ed1a006d96839aec648cb3d2094b53fd /llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
parenta3617ec88a04aa5e7e0908593980257db06956c9 (diff)
downloadbcm5719-llvm-6c6b2fd2b2484e06b91bb258201b9a75416e011a.tar.gz
bcm5719-llvm-6c6b2fd2b2484e06b91bb258201b9a75416e011a.zip
rename pred_const_iterator to const_pred_iterator for consistency's sake
llvm-svn: 99567
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r--llvm/lib/Analysis/ProfileInfoLoaderPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
index ac9ed524dee..8ea4ecf54f9 100644
--- a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
+++ b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
@@ -119,7 +119,7 @@ void LoaderPass::recurseBasicBlock(const BasicBlock *BB) {
bbi != bbe; ++bbi) {
recurseBasicBlock(*bbi);
}
- for (pred_const_iterator bbi = pred_begin(BB), bbe = pred_end(BB);
+ for (const_pred_iterator bbi = pred_begin(BB), bbe = pred_end(BB);
bbi != bbe; ++bbi) {
recurseBasicBlock(*bbi);
}
OpenPOWER on IntegriCloud