Disable pool allocation stuff until data structure analysis is sorted back out
llvm-svn: 2869
diff --git a/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp b/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
index bbd9d1b..50f21e2 100644
--- a/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
+++ b/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
@@ -30,6 +30,8 @@
using std::string;
using std::set;
+#if 0
+
// DEBUG_CREATE_POOLS - Enable this to turn on debug output for the pool
// creation phase in the top level function of a transformed data structure.
//
@@ -1744,9 +1746,12 @@
DS = 0;
return false;
}
-
+#endif
// createPoolAllocatePass - Global function to access the functionality of this
// pass...
//
-Pass *createPoolAllocatePass() { return new PoolAllocate(); }
+Pass *createPoolAllocatePass() {
+ assert(0 && "Pool allocator disabled!");
+ //return new PoolAllocate();
+}