projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix PR5009 by making CGSCCPM realize that a call was devirtualized
[oota-llvm.git]
/
lib
/
Analysis
/
ProfileInfoLoaderPass.cpp
diff --git
a/lib/Analysis/ProfileInfoLoaderPass.cpp
b/lib/Analysis/ProfileInfoLoaderPass.cpp
index ac9ed524deefa6dc1c20deeba8537a67d5484745..8ea4ecf54f98f6a8510b55e670afcd50ad63aa4f 100644
(file)
--- a/
lib/Analysis/ProfileInfoLoaderPass.cpp
+++ b/
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);
}