diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-01 21:52:35 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-01 23:00:36 -0700 |
commit | a077b7e36b27462b9702251d6fb823d3a092a134 (patch) | |
tree | 0840fba415562e5602279632d3305cc4f27be058 /rjit_c.rb | |
parent | 87dc06ed242ab6524cc51404513a8b0dad9fe1e3 (diff) |
RJIT: Support rest args
Diffstat (limited to 'rjit_c.rb')
-rw-r--r-- | rjit_c.rb | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -519,6 +519,10 @@ module RubyVM::RJIT # :nodoc: all Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ary_clear) } end + def C.rb_ary_dup + Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ary_dup) } + end + def C.rb_ary_entry_internal Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ary_entry_internal) } end @@ -727,6 +731,10 @@ module RubyVM::RJIT # :nodoc: all Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_vm_yield_with_cfunc) } end + def C.rb_yjit_rb_ary_unshift_m + Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_yjit_rb_ary_unshift_m) } + end + def C.rjit_full_cfunc_return Primitive.cexpr! %q{ SIZET2NUM((size_t)rjit_full_cfunc_return) } end @@ -735,6 +743,10 @@ module RubyVM::RJIT # :nodoc: all Primitive.cexpr! %q{ SIZET2NUM((size_t)rjit_optimized_call) } end + def C.rjit_rb_ary_subseq_length + Primitive.cexpr! %q{ SIZET2NUM((size_t)rjit_rb_ary_subseq_length) } + end + def C.rjit_record_exit_stack Primitive.cexpr! %q{ SIZET2NUM((size_t)rjit_record_exit_stack) } end |