[llvm-commits] CVS: llvm-poolalloc/runtime/FL2Allocator/FreeListAllocator.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 1 20:56:31 PST 2005
Changes in directory llvm-poolalloc/runtime/FL2Allocator:
FreeListAllocator.cpp updated: 1.31 -> 1.32
---
Log message:
don't scale by pool slab size!
---
Diffs of the changes: (+1 -1)
FreeListAllocator.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-poolalloc/runtime/FL2Allocator/FreeListAllocator.cpp
diff -u llvm-poolalloc/runtime/FL2Allocator/FreeListAllocator.cpp:1.31 llvm-poolalloc/runtime/FL2Allocator/FreeListAllocator.cpp:1.32
--- llvm-poolalloc/runtime/FL2Allocator/FreeListAllocator.cpp:1.31 Tue Mar 1 22:51:35 2005
+++ llvm-poolalloc/runtime/FL2Allocator/FreeListAllocator.cpp Tue Mar 1 22:56:18 2005
@@ -753,7 +753,7 @@
}
void poolfree_pc(PoolTy *Pool, unsigned long Node) {
- poolfree(Pool, Pool->Slabs+Node);
+ poolfree(Pool, (char*)Pool->Slabs+Node);
}
More information about the llvm-commits
mailing list