diff options
author | Jean Boussier <[email protected]> | 2025-05-27 14:08:30 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-27 15:34:02 +0200 |
commit | 326c120aa70274b8bdab3ce791f504f32f9b9b09 (patch) | |
tree | 47a5eaef8c06f05c7882d50d0645db395e2fe658 /object.c | |
parent | 6c4ae85211a8c5ac23214303ef5023361a899689 (diff) |
Rename `rb_shape_id_canonical_p` -> `rb_shape_canonical_p`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13450
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -339,7 +339,7 @@ rb_obj_copy_ivar(VALUE dest, VALUE obj) shape_id_t dest_shape_id = src_shape_id; shape_id_t initial_shape_id = RBASIC_SHAPE_ID(dest); - if (RSHAPE(initial_shape_id)->heap_index != RSHAPE(src_shape_id)->heap_index || !rb_shape_id_canonical_p(src_shape_id)) { + if (RSHAPE(initial_shape_id)->heap_index != RSHAPE(src_shape_id)->heap_index || !rb_shape_canonical_p(src_shape_id)) { RUBY_ASSERT(RSHAPE(initial_shape_id)->type == SHAPE_T_OBJECT); dest_shape_id = rb_shape_rebuild(initial_shape_id, src_shape_id); |