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

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 16 09:38:19 PST 2005



Changes in directory llvm-poolalloc/lib/PoolAllocate:

PoolAllocate.h updated: 1.41 -> 1.42
---
Log message:

Update out-of-date and misleading comment.


---
Diffs of the changes:  (+4 -10)

 PoolAllocate.h |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)


Index: llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h
diff -u llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h:1.41 llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h:1.42
--- llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h:1.41	Tue Feb 15 22:58:22 2005
+++ llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h	Wed Feb 16 11:38:03 2005
@@ -67,16 +67,10 @@
     /// this function.  This only includes heap nodes.
     std::vector<const DSNode*> NodesToPA;
 
-    /// PoolDescriptors - The Value* (either an argument or an alloca) which
-    /// defines the pool descriptor for this DSNode.  Pools are mapped one to
-    /// one with nodes in the DSGraph, so this contains a pointer to the node it
-    /// corresponds to.  In addition, the pool is initialized by calling the
-    /// "poolinit" library function with a chunk of memory allocated with an
-    /// alloca instruction.  This entry contains a pointer to that alloca if the
-    /// pool is locally allocated or the argument it is passed in through if
-    /// not.
-    /// Note: Does not include pool arguments that are passed in because of
-    /// indirect function calls that are not used in the function.
+    /// PoolDescriptors - The Value* which defines the pool descriptor for this
+    /// DSNode.  Note: This does not necessarily include pool arguments that are
+    /// passed in because of indirect function calls that are not used in the
+    /// function.
     std::map<const DSNode*, Value*> PoolDescriptors;
 
     /// NewToOldValueMap - When and if a function needs to be cloned, this map






More information about the llvm-commits mailing list