diff options
-rw-r--r-- | lib/Transforms/IPO/OldPoolAllocate.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/OldPoolAllocate.cpp b/lib/Transforms/IPO/OldPoolAllocate.cpp index bbd9d1b..50f21e2 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(); +} |