summaryrefslogtreecommitdiff
path: root/rjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 21:37:16 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 21:37:49 -0700
commit9c2792c3d3933d7afeca9c46be9954057d06c5eb (patch)
treeb0d9655f8e49e091dc2a5bcc03650de210a0be5f /rjit_c.rb
parentd189f8d870aee69e43697415a4840a4d9cdf5a62 (diff)
downloadruby-9c2792c3d3933d7afeca9c46be9954057d06c5eb.tar.gz
RJIT: Implement toregexp
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 d2e342a24e..9454ab2c1a 100644
--- a/rjit_c.rb
+++ b/rjit_c.rb
@@ -449,6 +449,10 @@ module RubyVM::RJIT # :nodoc: all
Primitive.cexpr! %q{ SIZET2NUM(rb_rjit_global_events) }
end
+ def C.rb_ary_clear
+ Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ary_clear) }
+ end
+
def C.rb_ary_entry_internal
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ary_entry_internal) }
end
@@ -465,6 +469,10 @@ module RubyVM::RJIT # :nodoc: all
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ary_store) }
end
+ def C.rb_ary_tmp_new_from_values
+ Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ary_tmp_new_from_values) }
+ end
+
def C.rb_backref_get
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_backref_get) }
end
@@ -565,6 +573,10 @@ module RubyVM::RJIT # :nodoc: all
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_reg_match_pre) }
end
+ def C.rb_reg_new_ary
+ Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_reg_new_ary) }
+ end
+
def C.rb_reg_nth_match
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_reg_nth_match) }
end