summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ProfileEstimatorPass.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/ProfileEstimatorPass.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/ProfileEstimatorPass.cpp')
-rw-r--r--llvm/lib/Analysis/ProfileEstimatorPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ProfileEstimatorPass.cpp b/llvm/lib/Analysis/ProfileEstimatorPass.cpp
index bce6b310ce0..da4ce476926 100644
--- a/llvm/lib/Analysis/ProfileEstimatorPass.cpp
+++ b/llvm/lib/Analysis/ProfileEstimatorPass.cpp
@@ -398,7 +398,7 @@ bool ProfileEstimatorPass::runOnFunction(Function &F) {
for (Function::const_iterator FI = F.begin(), FE = F.end(); FI != FE; ++FI) {
const BasicBlock *BB = &(*FI);
BlockInformation[&F][BB] = 0;
- pred_const_iterator predi = pred_begin(BB), prede = pred_end(BB);
+ const_pred_iterator predi = pred_begin(BB), prede = pred_end(BB);
if (predi == prede) {
Edge e = getEdge(0,BB);
setEdgeWeight(e,0);
OpenPOWER on IntegriCloud