Changes in directory llvm-poolalloc/runtime/FL2Allocator:

PoolAllocator.cpp updated: 1.52 -> 1.53
PoolAllocator.h updated: 1.26 -> 1.27
---
Log message:

Fix compile problems

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

 PoolAllocator.cpp |    2 +-
 PoolAllocator.h   |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.cpp
diff -u llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.cpp:1.52 
llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.cpp:1.53
--- llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.cpp:1.52  Thu Apr 27 
10:50:02 2006
+++ llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.cpp       Wed Jun 14 
16:17:32 2006
@@ -542,7 +542,7 @@
   DO_IF_TRACE(fprintf(stderr, "[%d] poolalloc%s(%d) -> ",
                       getPoolNumber(Pool), PoolTraits::getSuffix(), 
NumBytesA));
 
-  int NumBytes = NumBytesA;
+  unsigned NumBytes = NumBytesA;
 
   // If a null pool descriptor is passed in, this is not a pool allocated data
   // structure.  Hand off to the system malloc.


Index: llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.h
diff -u llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.h:1.26 
llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.h:1.27
--- llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.h:1.26    Thu Apr 27 
10:50:02 2006
+++ llvm-poolalloc/runtime/FL2Allocator/PoolAllocator.h Wed Jun 14 16:17:32 2006
@@ -37,7 +37,7 @@
   typedef unsigned long NodeHeaderType;
   enum {
     UseLargeArrayObjects = 1,
-    CanGrowPool = 1,
+    CanGrowPool = 1
   };
 
   // Pointers are just pointers.
@@ -69,7 +69,7 @@
 
   enum {
     UseLargeArrayObjects = 0,
-    CanGrowPool = 0,
+    CanGrowPool = 0
   };
 
   // Represent pointers with indexes from the pool base.



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to