summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-02-01 09:25:12 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-02-02 09:52:04 -0500
commit7b77d46671685c837adc33b39ae0210e04cd8b24 (patch)
tree426dd92de0af81c4d6cbc3f0af732cc7fe80ede8 /misc
parentaf107710457b4bd148c6e5ee7a336ed4961f5423 (diff)
Decouple GC slot sizes from RVALUE
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).
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5517
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions