summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-10 22:36:47 +0000
committerChris Lattner <sabre@nondot.org>2002-07-10 22:36:47 +0000
commit11910cf7e316a1349a624882af83605fbabe4aa5 (patch)
tree4e904ba1fb3adeb57b9745a50c3251784fea0682 /lib
parent2b0f739d57f7c0a7158c8621b6c58c57777d3576 (diff)
downloadllvm-11910cf7e316a1349a624882af83605fbabe4aa5.tar.gz
llvm-11910cf7e316a1349a624882af83605fbabe4aa5.tar.bz2
llvm-11910cf7e316a1349a624882af83605fbabe4aa5.tar.xz
Disable pool allocation stuff until data structure analysis is sorted back out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2869 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/IPO/OldPoolAllocate.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/OldPoolAllocate.cpp b/lib/Transforms/IPO/OldPoolAllocate.cpp
index bbd9d1b9f0..50f21e2397 100644
--- a/lib/Transforms/IPO/OldPoolAllocate.cpp
+++ b/lib/Transforms/IPO/OldPoolAllocate.cpp
@@ -30,6 +30,8 @@ using std::map;
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 @@ bool PoolAllocate::run(Module &M) {
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();
+}