From 395ed739849a0507a2faae0829287c039c3589f8 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 12 Dec 2006 22:57:43 +0000 Subject: [PATCH] Initialize activeManager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32506 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/PassManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index 4d047205a36..867d9ae5fa7 100644 --- a/lib/VMCore/PassManager.cpp +++ b/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 -- 2.34.1