projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f59e09
)
fix PR8928 by clearing a stale map, patch by Jakub Staszak!
author
Chris Lattner
<sabre@nondot.org>
Mon, 24 Jan 2011 18:36:51 +0000
(18:36 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 24 Jan 2011 18:36:51 +0000
(18:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124132
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ProfileEstimatorPass.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ProfileEstimatorPass.cpp
b/lib/Analysis/ProfileEstimatorPass.cpp
index 2b9afe307d1aefc00ca59d323034049bccfe1505..667ee1cc348a62b5a6a950f1a38e0d24571bf4f0 100644
(file)
--- a/
lib/Analysis/ProfileEstimatorPass.cpp
+++ b/
lib/Analysis/ProfileEstimatorPass.cpp
@@
-323,6
+323,7
@@
bool ProfileEstimatorPass::runOnFunction(Function &F) {
FunctionInformation.erase(&F);
BlockInformation[&F].clear();
EdgeInformation[&F].clear();
+ BBToVisit.clear();
// Mark all blocks as to visit.
for (Function::iterator bi = F.begin(), be = F.end(); bi != be; ++bi)