diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2022-11-18 10:29:41 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-11-18 12:04:10 -0800 |
commit | 6582f34831cc665b2adcf7d475aceb9b918badb6 (patch) | |
tree | 4d7de2ed25e59c6c2d9861003054fabfa7689e32 /mjit_c.rb | |
parent | ba3b40a9aeb752d1b3e4c87748c977bfd3cf6f2c (diff) |
rename SHAPE_BITS to SHAPE_ID_NUM_BITS
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6737
Diffstat (limited to 'mjit_c.rb')
-rw-r--r-- | mjit_c.rb | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -158,10 +158,6 @@ module RubyVM::MJIT Primitive.cexpr! %q{ INT2NUM(VM_METHOD_TYPE_ISEQ) } end - def C.SHAPE_BITS - Primitive.cexpr! %q{ UINT2NUM(SHAPE_BITS) } - end - def C.SHAPE_CAPACITY_CHANGE Primitive.cexpr! %q{ UINT2NUM(SHAPE_CAPACITY_CHANGE) } end @@ -174,6 +170,10 @@ module RubyVM::MJIT Primitive.cexpr! %q{ UINT2NUM(SHAPE_FROZEN) } end + def C.SHAPE_ID_NUM_BITS + Primitive.cexpr! %q{ UINT2NUM(SHAPE_ID_NUM_BITS) } + end + def C.SHAPE_INITIAL_CAPACITY Primitive.cexpr! %q{ UINT2NUM(SHAPE_INITIAL_CAPACITY) } end |