diff options
author | Jean Boussier <[email protected]> | 2025-05-28 12:28:42 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-28 12:29:25 +0200 |
commit | 658fcbe91a7c74ba33aee96c8a6c10f13ff3e6d9 () | |
tree | c0bc60cb99fe3985812b075284f01f5c65d3e33b /vm_insnhelper.c | |
parent | a0e9af0146ab04e6d9eb8f5435ecdf383144af60 (diff) |
Get rid of `vm_cc_attr_index` and `vm_cc_attr_index_dest_shape_id`
Notes: Merged: https://.com/ruby/ruby/pull/13455
-rw-r--r-- | vm_insnhelper.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3944,8 +3944,9 @@ vm_call_attrset_direct(rb_execution_context_t *ec, rb_control_frame_t *cfp, cons RB_DEBUG_COUNTER_INC(ccf_attrset); VALUE val = *(cfp->sp - 1); cfp->sp -= 2; - attr_index_t index = vm_cc_attr_index(cc); - shape_id_t dest_shape_id = vm_cc_attr_index_dest_shape_id(cc); ID id = vm_cc_cme(cc)->def->body.attr.id; rb_check_frozen(obj); VALUE res = vm_setivar(obj, id, val, dest_shape_id, index); |