[llvm-commits] CVS: poolalloc/runtime/FreeListAllocator/PoolAllocator.cpp
John Criswell
criswell at cs.uiuc.edu
Fri Nov 14 09:36:00 PST 2003
Changes in directory poolalloc/runtime/FreeListAllocator:
PoolAllocator.cpp updated: 1.19 -> 1.20
---
Log message:
Fixed a bug in the code. Unfortunetly, this seems to make it a little
slower in some spots.
---
Diffs of the changes: (+2 -2)
Index: poolalloc/runtime/FreeListAllocator/PoolAllocator.cpp
diff -u poolalloc/runtime/FreeListAllocator/PoolAllocator.cpp:1.19 poolalloc/runtime/FreeListAllocator/PoolAllocator.cpp:1.20
--- poolalloc/runtime/FreeListAllocator/PoolAllocator.cpp:1.19 Thu Nov 13 22:40:09 2003
+++ poolalloc/runtime/FreeListAllocator/PoolAllocator.cpp Fri Nov 14 09:35:14 2003
@@ -351,7 +351,7 @@
//
Prevp->Next = Slabp->Next;
}
- return (&(Slabp->Data[0]));
+ return (Slabp->Data);
}
}
@@ -364,7 +364,7 @@
//
// Return the list of blocks to the caller.
//
- return (&(NewSlab->Data[0]));
+ return (NewSlab->Data);
}
void
More information about the llvm-commits
mailing list