summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/yjit.c b/yjit.c
index 85401318ad..d0d8ae463a 100644
--- a/yjit.c
+++ b/yjit.c
@@ -442,13 +442,6 @@ rb_iseq_opcode_at_pc(const rb_iseq_t *iseq, const VALUE *pc)
return rb_vm_insn_addr2opcode((const void *)at_pc);
}
-// used by jit_rb_str_bytesize in codegen.rs
-VALUE
-rb_str_bytesize(VALUE str)
-{
- return LONG2NUM(RSTRING_LEN(str));
-}
-
unsigned long
rb_RSTRING_LEN(VALUE str)
{