[llvm-commits] CVS: poolalloc/lib/PoolAllocate/PoolAllocate.cpp TransformFunctionBody.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 14 01:04:02 PST 2003


Changes in directory poolalloc/lib/PoolAllocate:

PoolAllocate.cpp updated: 1.50 -> 1.51
TransformFunctionBody.cpp updated: 1.13 -> 1.14

---
Log message:

Fix spelling, remove bogus assertion


---
Diffs of the changes:  (+2 -2)

Index: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
diff -u poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.50 poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.51
--- poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.50	Thu Nov 13 19:14:54 2003
+++ poolalloc/lib/PoolAllocate/PoolAllocate.cpp	Fri Nov 14 01:02:50 2003
@@ -812,7 +812,7 @@
     }
     DEBUG(std::cerr << "\n\n");
 
-    // We are allowed to delete any pool frees which occur between the last call
+    // We are allowed to delete any poolfree's which occur between the last call
     // to poolalloc, and the call to pooldestroy.  Figure out which basic blocks
     // have this property for this pool.
     std::set<BasicBlock*> PoolFreeLiveBlocks;


Index: poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp
diff -u poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp:1.13 poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp:1.14
--- poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp:1.13	Thu Nov 13 00:15:09 2003
+++ poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp	Fri Nov 14 01:02:50 2003
@@ -287,7 +287,7 @@
     if (!isa<Constant>(*AI))
       DSGraph::computeNodeMapping(CalleeGraph->getNodeForValue(FAI),
                                   getDSNodeHFor(*AI), NodeMapping, false);
-  assert(AI == AE && "Varargs calls not handled yet!");
+  //assert(AI == AE && "Varargs calls not handled yet!");
 
   // Map the return value as well...
   if (TheCall->getType() != Type::VoidTy)





More information about the llvm-commits mailing list