summaryrefslogtreecommitdiff
path: root/rjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 21:24:28 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 21:24:31 -0700
commit2eefd71e0f0fe7ab4c4584fc29902034102c5c4a (patch)
tree138c2e12a5fb2458f2fdc0e68bf23b5b11d3904b /rjit_c.rb
parent81e19b7d9988ced02c80a19ef2ec0f3b7cd8c456 (diff)
downloadruby-2eefd71e0f0fe7ab4c4584fc29902034102c5c4a.tar.gz
RJIT: Implement newrange
Diffstat (limited to 'rjit_c.rb')
-rw-r--r--rjit_c.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/rjit_c.rb b/rjit_c.rb
index 3b2072873f..cc0b8b8541 100644
--- a/rjit_c.rb
+++ b/rjit_c.rb
@@ -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