diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2023-04-18 13:53:37 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2023-04-18 17:16:22 -0700 |
commit | bdffcd6df30d7f21cf1a3a174672e82074800451 (patch) | |
tree | 21e7fc3a34f6dc3c8bc1198de32dfa036d23a665 /rjit_c.rb | |
parent | b816ea87725d85b0b9cf9628603245041a2d5123 (diff) | |
download | ruby-bdffcd6df30d7f21cf1a3a174672e82074800451.tar.gz |
Update RJIT to support newarray_send
This also adds max / hash support
Diffstat (limited to 'rjit_c.rb')
-rw-r--r-- | rjit_c.rb | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -724,6 +724,14 @@ module RubyVM::RJIT # :nodoc: all Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_vm_ic_hit_p) } end + def C.rb_vm_opt_newarray_hash + Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_vm_opt_newarray_hash) } + end + + def C.rb_vm_opt_newarray_max + Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_vm_opt_newarray_max) } + end + def C.rb_vm_opt_newarray_min Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_vm_opt_newarray_min) } end |