mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
fix PR8928 by clearing a stale map, patch by Jakub Staszak!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124132 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f59e09c9a
commit
0e3fae27a1
@ -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