diff options
Diffstat (limited to 'yjit/src/cruby.rs')
-rw-r--r-- | yjit/src/cruby.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/yjit/src/cruby.rs b/yjit/src/cruby.rs index e4b5392cfe..a43b053d3e 100644 --- a/yjit/src/cruby.rs +++ b/yjit/src/cruby.rs @@ -139,7 +139,6 @@ extern "C" { // Renames pub use rb_insn_name as raw_insn_name; -pub use rb_insn_len as raw_insn_len; pub use rb_get_ec_cfp as get_ec_cfp; pub use rb_get_cfp_iseq as get_cfp_iseq; pub use rb_get_cfp_pc as get_cfp_pc; @@ -185,7 +184,6 @@ pub use rb_yarv_str_eql_internal as rb_str_eql_internal; pub use rb_yarv_ary_entry_internal as rb_ary_entry_internal; pub use rb_yjit_fix_div_fix as rb_fix_div_fix; pub use rb_yjit_fix_mod_fix as rb_fix_mod_fix; -pub use rb_yjit_fix_mul_fix as rb_fix_mul_fix; pub use rb_FL_TEST as FL_TEST; pub use rb_FL_TEST_RAW as FL_TEST_RAW; pub use rb_RB_TYPE_P as RB_TYPE_P; @@ -222,7 +220,7 @@ pub fn insn_len(opcode: usize) -> u32 { #[cfg(not(test))] unsafe { - raw_insn_len(VALUE(opcode)).try_into().unwrap() + rb_insn_len(VALUE(opcode)).try_into().unwrap() } } |