[llvm-commits] CVS: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 13 19:16:00 PST 2003
Changes in directory poolalloc/lib/PoolAllocate:
PoolAllocate.cpp updated: 1.49 -> 1.50
---
Log message:
Make the pool descriptor type as large as we want. right now, 10 words
---
Diffs of the changes: (+1 -3)
Index: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
diff -u poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.49 poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.50
--- poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.49 Thu Nov 13 11:10:58 2003
+++ poolalloc/lib/PoolAllocate/PoolAllocate.cpp Thu Nov 13 19:14:54 2003
@@ -120,9 +120,7 @@
void PoolAllocate::AddPoolPrototypes() {
if (VoidPtrTy == 0) {
VoidPtrTy = PointerType::get(Type::SByteTy);
- PoolDescType =
- StructType::get(make_vector<const Type*>(VoidPtrTy, VoidPtrTy,
- Type::UIntTy, Type::UIntTy, 0));
+ PoolDescType = ArrayType::get(VoidPtrTy, 10);
PoolDescPtrTy = PointerType::get(PoolDescType);
}
More information about the llvm-commits
mailing list