diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2023-04-18 13:16:14 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2023-04-18 17:16:22 -0700 |
commit | b816ea87725d85b0b9cf9628603245041a2d5123 (patch) | |
tree | 87b150264fc31d00f3cb28dd2d64b5dc875e27e8 /vm_insnhelper.c | |
parent | 66938fc703af9df14d0bb5958e55728fc8fd481c (diff) |
Implement opt_newarray_send in YJIT
This commit implements opt_newarray_send along with min / max / hash for
stack allocated arrays
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6090
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 c9805377ff..aafc49bfd5 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -5389,6 +5389,12 @@ vm_opt_newarray_hash(rb_execution_context_t *ec, rb_num_t num, const VALUE *ptr) } } +VALUE +rb_vm_opt_newarray_hash(rb_execution_context_t *ec, rb_num_t num, const VALUE *ptr) +{ + return vm_opt_newarray_hash(ec, num, ptr); +} + #undef id_cmp #define IMEMO_CONST_CACHE_SHAREABLE IMEMO_FL_USER0 |