[llvm-commits] CVS: poolalloc/runtime/FreeListAllocator/PoolSlab.h
John Criswell
criswell at cs.uiuc.edu
Thu Nov 13 14:14:01 PST 2003
Changes in directory poolalloc/runtime/FreeListAllocator:
PoolSlab.h updated: 1.2 -> 1.3
---
Log message:
Add binary flags into bitfieds. Hopefully this will get them to take up
less space.
---
Diffs of the changes: (+2 -2)
Index: poolalloc/runtime/FreeListAllocator/PoolSlab.h
diff -u poolalloc/runtime/FreeListAllocator/PoolSlab.h:1.2 poolalloc/runtime/FreeListAllocator/PoolSlab.h:1.3
--- poolalloc/runtime/FreeListAllocator/PoolSlab.h:1.2 Tue Nov 11 20:46:21 2003
+++ poolalloc/runtime/FreeListAllocator/PoolSlab.h Thu Nov 13 14:13:42 2003
@@ -55,10 +55,10 @@
struct SlabHeader
{
// Flags whether this is an array
- unsigned char IsArray;
+ unsigned char IsArray : 1;
// Flags whether this is managed by the Page Manager
- unsigned char IsManaged;
+ unsigned char IsManaged : 1;
// Number of nodes per slab
unsigned int NodesPerSlab;
More information about the llvm-commits
mailing list