summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2024-01-10 12:37:08 -0500
committerAlan Wu <[email protected]>2024-01-10 13:19:15 -0500
commit015b0e2e1d312e2be60551587389c8da5c585e6f (patch)
treee52c7aac9a0bc075fd7389aca0deba6fd52aa683 /yjit.c
parent82b57d7bfeefd717c10f7a5a3484aca6b3e708a3 (diff)
YJIT: Fix unused warnings
``` warning: unused import: `condition::Condition` --> src/asm/arm64/arg/mod.rs:13:9 | 13 | pub use condition::Condition; | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `rb_yjit_fix_mul_fix as rb_fix_mul_fix` --> src/cruby.rs:188:9 | 188 | pub use rb_yjit_fix_mul_fix as rb_fix_mul_fix; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `rb_insn_len as raw_insn_len` --> src/cruby.rs:142:9 | 142 | pub use rb_insn_len as raw_insn_len; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default ``` Make asm public so it stops warning about unused public stuff in there.
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/yjit.c b/yjit.c
index 58ea3083e2..d5071cb952 100644
--- a/yjit.c
+++ b/yjit.c
@@ -871,12 +871,6 @@ 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)