Initialize activeManager.
authorDevang Patel <dpatel@apple.com>
Tue, 12 Dec 2006 22:57:43 +0000 (22:57 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 12 Dec 2006 22:57:43 +0000 (22:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32506 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/PassManager.cpp

index 4d047205a36cd32f7459cd38971755d2888c815b..867d9ae5fa72c4841b85c1af76dac2ac3de0cda0 100644 (file)
@@ -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