diff options
author | Takashi Kokubun <[email protected]> | 2023-04-05 13:19:31 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-05 13:19:31 -0700 |
commit | 1587494b0b5f64a9976dcf0bd94dfe98123c2c27 (patch) | |
tree | cde249ed1d85312a98de6b7e26bb80bdce2e44f8 /yjit.c | |
parent | 52e571fa72debcd764765775bd1b76ee87e36d2d (diff) |
YJIT: Add codegen for Integer methods (#7665)
* YJIT: Add codegen for Integer methods
* YJIT: Update dependencies
* YJIT: Fix Integer#[] for argc=2
Notes
Notes:
Merged-By: k0kubun <[email protected]>
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -14,6 +14,7 @@ #include "internal/compile.h" #include "internal/class.h" #include "internal/fixnum.h" +#include "internal/numeric.h" #include "internal/gc.h" #include "vm_core.h" #include "vm_callinfo.h" @@ -855,11 +856,23 @@ rb_yjit_rb_ary_subseq_length(VALUE ary, long beg) } VALUE -rb_yarv_fix_mod_fix(VALUE recv, VALUE obj) +rb_yjit_fix_div_fix(VALUE recv, VALUE obj) +{ + return rb_fix_div_fix(recv, obj); +} + +VALUE +rb_yjit_fix_mod_fix(VALUE recv, VALUE obj) { return rb_fix_mod_fix(recv, obj); } +VALUE +rb_yjit_fix_mul_fix(VALUE recv, VALUE obj) +{ + return rb_fix_mul_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) |