From: Nicholas Clark Date: Thu, 23 Feb 2006 19:40:23 +0000 (+0000) Subject: Shrink struct body_details and hence sv.o slightly further by using X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2cc75b4359d1ce36ef0885433a8dccab2c13b2ef;p=p5sagit%2Fp5-mst-13.2.git Shrink struct body_details and hence sv.o slightly further by using bitfields. p4raw-id: //depot/perl@27291 --- diff --git a/sv.c b/sv.c index 010ee49..024b661 100644 --- a/sv.c +++ b/sv.c @@ -845,9 +845,9 @@ struct body_details { U8 body_size; /* Size to allocate */ U8 copy; /* Size of structure to copy (may be shorter) */ U8 offset; - bool cant_upgrade; /* Cannot upgrade this type */ - bool zero_nv; /* zero the NV when upgrading from this */ - bool arena; /* Allocated from an arena */ + unsigned int cant_upgrade : 1; /* Cannot upgrade this type */ + unsigned int zero_nv : 1; /* zero the NV when upgrading from this */ + unsigned int arena : 1; /* Allocated from an arena */ size_t arena_size; /* Size of arena to allocate */ };