diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-11-11 10:37:11 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-11-14 11:25:41 -0500 |
commit | 6dd1a5f532711a28ffe815455503f5a2b1f70d23 (patch) | |
tree | c74e6025e7cc0af49bf599ebf51f9b3364f2d95f /shape.c | |
parent | 1221c77489ff53866663794127c6d331c80dcdf1 (diff) |
Remove unused function rb_shape_transition_shape
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6717
Diffstat (limited to 'shape.c')
-rw-r--r-- | shape.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -212,16 +212,6 @@ rb_shape_transition_shape_frozen(VALUE obj) rb_shape_set_shape(obj, next_shape); } -void -rb_shape_transition_shape(VALUE obj, ID id, rb_shape_t *shape) -{ - rb_shape_t* next_shape = rb_shape_get_next(shape, obj, id); - if (shape == next_shape) { - return; - } - rb_shape_set_shape(obj, next_shape); -} - /* * This function is used for assertions where we don't want to increment * max_iv_count |