diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-12-12 07:19:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 10:19:24 -0500 |
commit | ece624605785f6640118a0cfd97618e71abfbee8 (patch) | |
tree | 63d698e04382b9553dd0c135a0160aacda858693 /vm_insnhelper.c | |
parent | 5302d04e5a7fe226a4e9f6aba8b681e0d5088b27 (diff) | |
download | ruby-ece624605785f6640118a0cfd97618e71abfbee8.tar.gz |
YJIT: Implement opt_newarray_max instruction (#6893)
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 c397110ae5..84fe32c1b7 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -5196,6 +5196,12 @@ vm_opt_newarray_max(rb_execution_context_t *ec, rb_num_t num, const VALUE *ptr) } } +VALUE +rb_vm_opt_newarray_max(rb_execution_context_t *ec, rb_num_t num, const VALUE *ptr) +{ + return vm_opt_newarray_max(ec, num, ptr); +} + static VALUE vm_opt_newarray_min(rb_execution_context_t *ec, rb_num_t num, const VALUE *ptr) { |