[llvm-commits] [llvm] r124132 - /llvm/trunk/lib/Analysis/ProfileEstimatorPass.cpp
Chris Lattner
sabre at nondot.org
Mon Jan 24 10:36:51 PST 2011
Author: lattner
Date: Mon Jan 24 12:36:51 2011
New Revision: 124132
URL: http://llvm.org/viewvc/llvm-project?rev=124132&view=rev
Log:
fix PR8928 by clearing a stale map, patch by Jakub Staszak!
Modified:
llvm/trunk/lib/Analysis/ProfileEstimatorPass.cpp
Modified: llvm/trunk/lib/Analysis/ProfileEstimatorPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileEstimatorPass.cpp?rev=124132&r1=124131&r2=124132&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ProfileEstimatorPass.cpp (original)
+++ llvm/trunk/lib/Analysis/ProfileEstimatorPass.cpp Mon Jan 24 12:36:51 2011
@@ -323,6 +323,7 @@
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)
More information about the llvm-commits
mailing list