[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Fri Dec 8 15:29:09 PST 2006
Changes in directory llvm/lib/VMCore:
PassManager.cpp updated: 1.69 -> 1.70
---
Log message:
Add AnalysisResolver_New. It is a replacement for existing
AnalysisResolver.
---
Diffs of the changes: (+8 -0)
PassManager.cpp | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.69 llvm/lib/VMCore/PassManager.cpp:1.70
--- llvm/lib/VMCore/PassManager.cpp:1.69 Fri Dec 8 17:11:43 2006
+++ llvm/lib/VMCore/PassManager.cpp Fri Dec 8 17:28:54 2006
@@ -675,6 +675,14 @@
return P;
}
+
+//===----------------------------------------------------------------------===//
+// NOTE: Is this the right place to define this method ?
+// getAnalysisToUpdate - Return an analysis result or null if it doesn't exist
+Pass *AnalysisResolver_New::getAnalysisToUpdate(AnalysisID ID, bool dir) const {
+ return PM.findAnalysisPass(ID, dir);
+}
+
//===----------------------------------------------------------------------===//
// BasicBlockPassManager_New implementation
More information about the llvm-commits
mailing list