projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adjust to constant folding api changes.
[oota-llvm.git]
/
lib
/
Analysis
/
ProfileInfoLoader.cpp
diff --git
a/lib/Analysis/ProfileInfoLoader.cpp
b/lib/Analysis/ProfileInfoLoader.cpp
index b1ed235c10c1307c6a3ed229650e15077805a4d5..23ceb52d8e2ef7d748fcd692ad5f77189188da2a 100644
(file)
--- a/
lib/Analysis/ProfileInfoLoader.cpp
+++ b/
lib/Analysis/ProfileInfoLoader.cpp
@@
-164,7
+164,7
@@
void ProfileInfoLoader::getFunctionCounts(std::vector<std::pair<Function*,
unsigned Counter = 0;
for (Module::iterator I = M.begin(), E = M.end();
I != E && Counter != FunctionCounts.size(); ++I)
- if (!I->is
External
())
+ if (!I->is
Declaration
())
Counts.push_back(std::make_pair(I, FunctionCounts[Counter++]));
}