diff options
author | Takashi Kokubun <[email protected]> | 2023-03-18 23:33:10 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-03-18 23:35:42 -0700 |
commit | 32e0c97dfaa7973032e6ab93260be8eb4ad1458a (patch) | |
tree | 267a6f988cd4d3f1922f1a27c65114bbfd4c82e5 /yjit.c | |
parent | 106cca5111981ce30bb6f4534ff72e8c09ace162 (diff) |
RJIT: Optimize String#bytesize
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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) { |