summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-05-08 18:36:01 +0200
committerJean Boussier <[email protected]>2025-05-09 10:22:51 +0200
commit9966de11fb349688f12ea16dc4c082269a8fdb42 ()
treea10e5679439dc108952b52fd79e89d6327112531 /vm_insnhelper.c
parentdf7d25bb3e8105783f3a243f12213d5c52c42377 (diff)
Refactor `rb_shape_get_next_iv_shape` to take and return ids.
Notes: Merged: https://.com/ruby/ruby/pull/13283
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
@@ -1533,7 +1533,7 @@ vm_setivar(VALUE obj, ID id, VALUE val, shape_id_t dest_shape_id, attr_index_t i
ROBJECT_SET_SHAPE_ID(obj, dest_shape_id);
- RUBY_ASSERT(rb_shape_get_next_iv_shape(rb_shape_get_shape_by_id(source_shape_id), id) == dest_shape);
RUBY_ASSERT(index < dest_shape->capacity);
}
else {