aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorywenc <ywenc@github.com>2023-07-26 10:38:59 -0400
committerGitHub <noreply@github.com>2023-07-26 10:38:59 -0400
commit8ca399d64023fd13bd17bc38132610ccb2ccc598 (patch)
treef2d178cb6184c4a401a08c9a551c9e7b23ef11e1 /vm_insnhelper.c
parent786a864900ceee6ed89d7df81698bbbe7e7bd6ae (diff)
downloadruby-8ca399d64023fd13bd17bc38132610ccb2ccc598.tar.gz
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>
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c6
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)
{