summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2022-12-08 17:31:33 -0500
committerGitHub <noreply@github.com>2022-12-08 17:31:33 -0500
commitb26c9ce5e9b1c80a59f4faeb92be4a302232e12c (patch)
tree15d6066426646db7e77ac2b5186a806f650cd27a /vm_insnhelper.c
parentc9076d546aae9dbcb7da404aada7ce8d23e2273b (diff)
downloadruby-b26c9ce5e9b1c80a59f4faeb92be4a302232e12c.tar.gz
YJIT: implement opt_newarray_min YARV instruction (#6888)
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 ec90e67373..265088caac 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -5216,6 +5216,12 @@ vm_opt_newarray_min(rb_execution_context_t *ec, rb_num_t num, const VALUE *ptr)
}
}
+VALUE
+rb_vm_opt_newarray_min(rb_execution_context_t *ec, rb_num_t num, const VALUE *ptr)
+{
+ return vm_opt_newarray_min(ec, num, ptr);
+}
+
#undef id_cmp
#define IMEMO_CONST_CACHE_SHAREABLE IMEMO_FL_USER0