Skip to content
  • Peter Zhu's avatar
    7b77d466
    Decouple GC slot sizes from RVALUE · 7b77d466
    Peter Zhu authored
    Add a new macro BASE_SLOT_SIZE that determines the slot size.
    
    For Variable Width Allocation (compiled with USE_RVARGC=1), all slot
    sizes are powers-of-2 multiples of BASE_SLOT_SIZE.
    
    For USE_RVARGC=0, BASE_SLOT_SIZE is set to sizeof(RVALUE).
    7b77d466
    Decouple GC slot sizes from RVALUE
    Peter Zhu authored
    Add a new macro BASE_SLOT_SIZE that determines the slot size.
    
    For Variable Width Allocation (compiled with USE_RVARGC=1), all slot
    sizes are powers-of-2 multiples of BASE_SLOT_SIZE.
    
    For USE_RVARGC=0, BASE_SLOT_SIZE is set to sizeof(RVALUE).
Loading