aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO/OldPoolAllocate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/IPO/OldPoolAllocate.cpp')
-rw-r--r--lib/Transforms/IPO/OldPoolAllocate.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/OldPoolAllocate.cpp b/lib/Transforms/IPO/OldPoolAllocate.cpp
index eb463b8..dca8b97 100644
--- a/lib/Transforms/IPO/OldPoolAllocate.cpp
+++ b/lib/Transforms/IPO/OldPoolAllocate.cpp
@@ -207,8 +207,6 @@ namespace {
// Define the pass class that we implement...
struct PoolAllocate : public Pass {
- const char *getPassName() const { return "Pool Allocate"; }
-
PoolAllocate() {
switch (ReqPointerSize) {
case Ptr32bits: POINTERTYPE = Type::UIntTy; break;
@@ -316,6 +314,9 @@ namespace {
map<DSNode*, PoolInfo> &PoolDescs);
};
+
+ RegisterPass<PoolAllocate> X("poolalloc",
+ "Pool allocate disjoint datastructures");
}
// isNotPoolableAlloc - This is a predicate that returns true if the specified