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

Devang Patel dpatel at apple.com
Fri Dec 8 10:57:35 PST 2006



Changes in directory llvm/lib/VMCore:

PassManager.cpp updated: 1.60 -> 1.61
---
Log message:

Implement FunctionPassManager_New::FunctionPassManager_New(ModuleProvider *P)


---
Diffs of the changes:  (+5 -0)

 PassManager.cpp |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.60 llvm/lib/VMCore/PassManager.cpp:1.61
--- llvm/lib/VMCore/PassManager.cpp:1.60	Thu Dec  7 19:38:28 2006
+++ llvm/lib/VMCore/PassManager.cpp	Fri Dec  8 12:57:16 2006
@@ -734,6 +734,11 @@
   FPM = new FunctionPassManagerImpl_New(0);
 }
 
+FunctionPassManager_New::FunctionPassManager_New(ModuleProvider *P) {
+  FPM = new FunctionPassManagerImpl_New(0);
+  MP = P;
+}
+
 /// add - Add a pass to the queue of passes to run.  This passes
 /// ownership of the Pass to the PassManager.  When the
 /// PassManager_X is destroyed, the pass will be destroyed as well, so






More information about the llvm-commits mailing list