mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
fix PR8928 by clearing a stale map, patch by Jakub Staszak!
llvm-svn: 124132
This commit is contained in:
parent
64d4cb968a
commit
1a73dcfbdd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user