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

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 9 16:47:01 PST 2003


Changes in directory poolalloc/include/poolalloc:

PoolAllocate.h updated: 1.9 -> 1.10

---
Log message:

Uh, these sets where thinko'd.  Fix them


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

Index: poolalloc/include/poolalloc/PoolAllocate.h
diff -u poolalloc/include/poolalloc/PoolAllocate.h:1.9 poolalloc/include/poolalloc/PoolAllocate.h:1.10
--- poolalloc/include/poolalloc/PoolAllocate.h:1.9	Sun Nov  9 16:16:47 2003
+++ poolalloc/include/poolalloc/PoolAllocate.h	Sun Nov  9 16:46:35 2003
@@ -23,6 +23,7 @@
 class DSNode;
 class DSGraph;
 class Type;
+class AllocaInst;
 
 namespace PA {
   /// FuncInfo - Represent the pool allocation information for one function in
@@ -180,8 +181,8 @@
 			   hash_set<Function*> &visited);
 
   void TransformBody(DSGraph &g, DSGraph &tdg, PA::FuncInfo &fi,
-                     std::set<Value*, BasicBlock*> &poolUses,
-                     std::set<Value*, CallInst*> &poolFrees,
+                     std::set<std::pair<AllocaInst*, BasicBlock*> > &poolUses,
+                     std::set<std::pair<AllocaInst*, CallInst*> > &poolFrees,
                      Function &F);
 };
 





More information about the llvm-commits mailing list