[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp

Devang Patel dpatel at apple.com
Tue Dec 12 14:57:58 PST 2006



Changes in directory llvm/lib/VMCore:

PassManager.cpp updated: 1.82 -> 1.83
---
Log message:

Initialize activeManager.


---
Diffs of the changes:  (+3 -1)

 PassManager.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.82 llvm/lib/VMCore/PassManager.cpp:1.83
--- llvm/lib/VMCore/PassManager.cpp:1.82	Tue Dec 12 16:56:36 2006
+++ llvm/lib/VMCore/PassManager.cpp	Tue Dec 12 16:57:43 2006
@@ -395,7 +395,9 @@
 
 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






More information about the llvm-commits mailing list