summaryrefslogtreecommitdiff
path: root/rjit_c.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 23:33:10 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 23:35:42 -0700
commit32e0c97dfaa7973032e6ab93260be8eb4ad1458a (patch)
tree267a6f988cd4d3f1922f1a27c65114bbfd4c82e5 /rjit_c.c
parent106cca5111981ce30bb6f4534ff72e8c09ace162 (diff)
downloadruby-32e0c97dfaa7973032e6ab93260be8eb4ad1458a.tar.gz
RJIT: Optimize String#bytesize
Diffstat (limited to 'rjit_c.c')
-rw-r--r--rjit_c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rjit_c.c b/rjit_c.c
index 1a2aa0b1b1..dd6067f334 100644
--- a/rjit_c.c
+++ b/rjit_c.c
@@ -497,6 +497,7 @@ extern void rb_vm_setinstancevariable(const rb_iseq_t *iseq, VALUE obj, ID id, V
extern VALUE rb_vm_throw(const rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, rb_num_t throw_state, VALUE throwobj);
extern VALUE rb_reg_new_ary(VALUE ary, int opt);
extern void rb_vm_setclassvariable(const rb_iseq_t *iseq, const rb_control_frame_t *cfp, ID id, VALUE val, ICVARC ic);
+extern VALUE rb_str_bytesize(VALUE str);
#include "rjit_c.rbinc"