diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/ProfileEstimatorPass.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/llvm/lib/Analysis/ProfileEstimatorPass.cpp b/llvm/lib/Analysis/ProfileEstimatorPass.cpp index 2b9afe307d1..667ee1cc348 100644 --- a/llvm/lib/Analysis/ProfileEstimatorPass.cpp +++ b/llvm/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) | 

