]> granicus.if.org Git - gc/commit
Remove hb_large_block field (use 1 extra bit of hb_flags instead)
authorIvan Maidanski <ivmai@mail.ru>
Sat, 21 Dec 2013 17:16:56 +0000 (21:16 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 21 Dec 2013 17:16:56 +0000 (21:16 +0400)
commita49b495533b253ffba733c5ccf76e61442fe0c22
tree7eaf4011026f7c0e6b45c3da18bb9e0d95549ba2
parentdff7453032eeb84a96d654dab7c77e1984e07dd2
Remove hb_large_block field (use 1 extra bit of hb_flags instead)

* allchblk.c (setup_header): Use (hb_flags & LARGE_BLOCK) != 0
instead of hb_large_block.
* private/gc_pmark.h (PUSH_CONTENTS_HDR): Likewise.
* mallocx.c (GC_realloc): Likewise.
* include/private/gc_priv.h (struct hblkhdr): Remove hb_large_block;
define LARGE_BLOCK to access corresponding bit in hb_flags (only if
MARK_BIT_PER_GRANULE).
allchblk.c
include/private/gc_pmark.h
include/private/gc_priv.h
mallocx.c