diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-18 21:24:28 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-18 21:24:31 -0700 |
commit | 2eefd71e0f0fe7ab4c4584fc29902034102c5c4a (patch) | |
tree | 138c2e12a5fb2458f2fdc0e68bf23b5b11d3904b /rjit_c.rb | |
parent | 81e19b7d9988ced02c80a19ef2ec0f3b7cd8c456 (diff) | |
download | ruby-2eefd71e0f0fe7ab4c4584fc29902034102c5c4a.tar.gz |
RJIT: Implement newrange
Diffstat (limited to 'rjit_c.rb')
-rw-r--r-- | rjit_c.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -545,6 +545,10 @@ module RubyVM::RJIT # :nodoc: all Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_obj_is_kind_of) } end + def C.rb_range_new + Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_range_new) } + end + def C.rb_reg_last_match Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_reg_last_match) } end |