summaryrefslogtreecommitdiff
path: root/rjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-01 21:52:35 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-04-01 23:00:36 -0700
commita077b7e36b27462b9702251d6fb823d3a092a134 (patch)
tree0840fba415562e5602279632d3305cc4f27be058 /rjit_c.rb
parent87dc06ed242ab6524cc51404513a8b0dad9fe1e3 (diff)
downloadruby-a077b7e36b27462b9702251d6fb823d3a092a134.tar.gz
RJIT: Support rest args
Diffstat (limited to 'rjit_c.rb')
-rw-r--r--rjit_c.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/rjit_c.rb b/rjit_c.rb
index 2016b1764c..9587884404 100644
--- a/rjit_c.rb
+++ b/rjit_c.rb
@@ -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