From ad6b7fe7260a54dace40d1be6cfce8578c745d71 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 12 Dec 2006 22:57:43 +0000 Subject: [PATCH] Initialize activeManager. llvm-svn: 32506 --- llvm/lib/VMCore/PassManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp index 4d047205a36c..867d9ae5fa72 100644 --- a/llvm/lib/VMCore/PassManager.cpp +++ b/llvm/lib/VMCore/PassManager.cpp @@ -395,7 +395,9 @@ class PassManagerImpl_New : public Pass, public: - PassManagerImpl_New(int D) : PMDataManager(D) {} + PassManagerImpl_New(int D) : PMDataManager(D) { + activeManager = NULL; + } /// add - Add a pass to the queue of passes to run. This passes ownership of /// the Pass to the PassManager. When the PassManager is destroyed, the pass