[llvm-commits] [poolalloc] r123450 - /poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp

John Criswell criswell at uiuc.edu
Fri Jan 14 09:24:15 PST 2011


Author: criswell
Date: Fri Jan 14 11:24:15 2011
New Revision: 123450

URL: http://llvm.org/viewvc/llvm-project?rev=123450&view=rev
Log:
Disabled code using preprocessor macros instead of comments.

Modified:
    poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp

Modified: poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp?rev=123450&r1=123449&r2=123450&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp Fri Jan 14 11:24:15 2011
@@ -996,14 +996,16 @@
 
 #ifndef NDEBUG
     // Verify that all potential callees at call site have the same DS graph.
-    /*DSCallGraph::callee_iterator E = PAInfo.getCallGraph().callee_end(OrigInst);
+#if 0
+    DSCallGraph::callee_iterator E = PAInfo.getCallGraph().callee_end(OrigInst);
     for (; I != E; ++I) {
       const Function * F = *I;
       assert (F);
       if (!(F)->isDeclaration())
         assert(CalleeGraph == Graphs.getDSGraph(**I) &&
                "Callees at call site do not have a common graph!");
-    }*/
+    }
+#endif
 #endif    
 
     // Find the DS nodes for the arguments that need to be added, if any.





More information about the llvm-commits mailing list