diff options
| author | Gabor Greif <ggreif@gmail.com> | 2010-03-25 23:25:28 +0000 |
|---|---|---|
| committer | Gabor Greif <ggreif@gmail.com> | 2010-03-25 23:25:28 +0000 |
| commit | 6c6b2fd2b2484e06b91bb258201b9a75416e011a (patch) | |
| tree | 1db1a318ed1a006d96839aec648cb3d2094b53fd /llvm/lib/Analysis/ProfileEstimatorPass.cpp | |
| parent | a3617ec88a04aa5e7e0908593980257db06956c9 (diff) | |
| download | bcm5719-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.cpp | 2 |
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); |

