diff options
author | Dave Schwantes <dorkrawk@github.com> | 2022-06-30 09:26:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 10:26:46 -0400 |
commit | b6f6fc6e870d00e5151647f3f14eaa16b8fe145b (patch) | |
tree | 6fe1d84b950b12bddcb39968db528a6f63c75e56 /yjit.c | |
parent | 2366e14976cd875e0b98321eb339d23016268b72 (diff) | |
download | ruby-b6f6fc6e870d00e5151647f3f14eaa16b8fe145b.tar.gz |
YJIT: Refactor gen_opt_mod (#6078)
Refactor gen_opt_mod in YJIT
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -13,6 +13,7 @@ #include "internal/variable.h" #include "internal/compile.h" #include "internal/class.h" +#include "internal/fixnum.h" #include "gc.h" #include "vm_core.h" #include "vm_callinfo.h" @@ -714,6 +715,12 @@ rb_yarv_ary_entry_internal(VALUE ary, long offset) return rb_ary_entry_internal(ary, offset); } +VALUE +rb_yarv_fix_mod_fix(VALUE recv, VALUE obj) +{ + return rb_fix_mod_fix(recv, obj); +} + // Print the Ruby source location of some ISEQ for debugging purposes void rb_yjit_dump_iseq_loc(const rb_iseq_t *iseq, uint32_t insn_idx) |