Set wasRun to false here on Dan's suggestion.
authorTorok Edwin <edwintorok@gmail.com>
Mon, 29 Jun 2009 21:05:10 +0000 (21:05 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Mon, 29 Jun 2009 21:05:10 +0000 (21:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74455 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/PassManager.cpp

index 24fb35c..78fc28e 100644 (file)
@@ -1305,6 +1305,7 @@ void FunctionPassManagerImpl::releaseMemoryOnTheFly() {
       FPPM->getContainedPass(Index)->releaseMemory();
     }
   }
+  wasRun = false;
 }
 
 // Execute all the passes managed by this top level manager.