From 2eefd71e0f0fe7ab4c4584fc29902034102c5c4a Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 18 Mar 2023 21:24:28 -0700 Subject: RJIT: Implement newrange --- rjit_c.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rjit_c.rb') 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 -- cgit v1.2.1