From: Devang Patel Date: Tue, 12 Dec 2006 22:57:43 +0000 (+0000) Subject: Initialize activeManager. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=395ed739849a0507a2faae0829287c039c3589f8;p=oota-llvm.git Initialize activeManager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32506 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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