[llvm-commits] CVS: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 7 22:32:41 PST 2004
Changes in directory poolalloc/lib/PoolAllocate:
PoolAllocate.cpp updated: 1.87 -> 1.88
---
Log message:
Reenable partial pool allocation
---
Diffs of the changes: (+2 -1)
Index: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
diff -u poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.87 poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.88
--- poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.87 Mon Nov 8 00:18:07 2004
+++ poolalloc/lib/PoolAllocate/PoolAllocate.cpp Mon Nov 8 00:32:31 2004
@@ -624,7 +624,8 @@
for (unsigned i = 0, e = NodesToPA.size(); i != e; ++i) {
DSNode *Node = NodesToPA[i];
- if (isa<GlobalVariable>(PoolDescriptors[Node]))
+ if (isa<GlobalVariable>(PoolDescriptors[Node]) ||
+ isa<ConstantPointerNull>(PoolDescriptors[Node]))
continue;
assert(isa<AllocaInst>(PoolDescriptors[Node]) && "Why pool allocate this?");
More information about the llvm-commits
mailing list