diff options
author | ywenc <ywenc@github.com> | 2023-07-26 10:38:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 10:38:59 -0400 |
commit | 8ca399d64023fd13bd17bc38132610ccb2ccc598 (patch) | |
tree | f2d178cb6184c4a401a08c9a551c9e7b23ef11e1 /vm_insnhelper.c | |
parent | 786a864900ceee6ed89d7df81698bbbe7e7bd6ae (diff) |
Implement `opt_aref_with` instruction (#8118)
Implement gen_opt_aref_with
Vm opt_aref_with is available
Test opt_aref_with
Stats for opt_aref_with
Co-authored-by: jhawthorn <jhawthorn@github.com>
Notes
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index c676399c59..d4474e7475 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -6259,6 +6259,12 @@ vm_opt_aref_with(VALUE recv, VALUE key) } } +VALUE +rb_vm_opt_aref_with(VALUE recv, VALUE key) +{ + return vm_opt_aref_with(recv, key); +} + static VALUE vm_opt_aset_with(VALUE recv, VALUE key, VALUE val) { |