From 6c839926babc7e3404974a4a5b39c6896d7fbf35 Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Mon, 29 Jun 2009 21:05:10 +0000 Subject: [PATCH] Set wasRun to false here on Dan's suggestion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74455 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/PassManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index 24fb35c215c..78fc28ec111 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -1305,6 +1305,7 @@ void FunctionPassManagerImpl::releaseMemoryOnTheFly() { FPPM->getContainedPass(Index)->releaseMemory(); } } + wasRun = false; } // Execute all the passes managed by this top level manager.