[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Tue Dec 12 15:27:52 PST 2006
Changes in directory llvm/lib/VMCore:
PassManager.cpp updated: 1.87 -> 1.88
---
Log message:
FunctionPassManager()
Set AnalysisResolver_New and add FPM to PassManagers list.
---
Diffs of the changes: (+6 -0)
PassManager.cpp | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.87 llvm/lib/VMCore/PassManager.cpp:1.88
--- llvm/lib/VMCore/PassManager.cpp:1.87 Tue Dec 12 17:15:28 2006
+++ llvm/lib/VMCore/PassManager.cpp Tue Dec 12 17:27:37 2006
@@ -847,6 +847,12 @@
FPM = new FunctionPassManagerImpl_New(0);
// FPM is the top level manager.
FPM->setTopLevelManager(FPM);
+
+ PMDataManager *PMD = dynamic_cast<PMDataManager *>(FPM);
+ AnalysisResolver_New *AR = new AnalysisResolver_New(*PMD);
+ FPM->setResolver(AR);
+
+ FPM->addPassManager(FPM);
MP = P;
}
More information about the llvm-commits
mailing list