summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/yjit.c b/yjit.c
index 637941ea48..e5431e79b9 100644
--- a/yjit.c
+++ b/yjit.c
@@ -845,6 +845,13 @@ VALUE
rb_yjit_rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary);
VALUE
+rb_yjit_rb_ary_subseq_length(VALUE ary, long beg)
+{
+ long len = RARRAY_LEN(ary);
+ return rb_ary_subseq(ary, beg, len);
+}
+
+VALUE
rb_yarv_fix_mod_fix(VALUE recv, VALUE obj)
{
return rb_fix_mod_fix(recv, obj);