diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-18 21:37:16 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-18 21:37:49 -0700 |
commit | 9c2792c3d3933d7afeca9c46be9954057d06c5eb (patch) | |
tree | b0d9655f8e49e091dc2a5bcc03650de210a0be5f /rjit_c.rb | |
parent | d189f8d870aee69e43697415a4840a4d9cdf5a62 (diff) |
RJIT: Implement toregexp
Diffstat (limited to 'rjit_c.rb')
-rw-r--r-- | rjit_c.rb | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |