[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Tue Feb 27 07:01:03 PST 2007
Changes in directory llvm/lib/VMCore:
PassManager.cpp updated: 1.137 -> 1.138
---
Log message:
Make getPassManagerType() const.
---
Diffs of the changes: (+4 -2)
PassManager.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.137 llvm/lib/VMCore/PassManager.cpp:1.138
--- llvm/lib/VMCore/PassManager.cpp:1.137 Sat Feb 17 17:14:24 2007
+++ llvm/lib/VMCore/PassManager.cpp Tue Feb 27 09:00:39 2007
@@ -98,7 +98,7 @@
return BP;
}
- virtual PassManagerType getPassManagerType() {
+ virtual PassManagerType getPassManagerType() const {
return PMT_BasicBlockPassManager;
}
};
@@ -210,7 +210,9 @@
return MP;
}
- virtual PassManagerType getPassManagerType() { return PMT_ModulePassManager; }
+ virtual PassManagerType getPassManagerType() const {
+ return PMT_ModulePassManager;
+ }
};
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list