summaryrefslogtreecommitdiff
path: root/tool/rjit/bindgen.rb
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 /tool/rjit/bindgen.rb
parent106cca5111981ce30bb6f4534ff72e8c09ace162 (diff)
downloadruby-32e0c97dfaa7973032e6ab93260be8eb4ad1458a.tar.gz
RJIT: Optimize String#bytesize
Diffstat (limited to 'tool/rjit/bindgen.rb')
-rwxr-xr-xtool/rjit/bindgen.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/rjit/bindgen.rb b/tool/rjit/bindgen.rb
index 3c25edad09..b68123b38a 100755
--- a/tool/rjit/bindgen.rb
+++ b/tool/rjit/bindgen.rb
@@ -545,6 +545,7 @@ generator = BindingGenerator.new(
rb_ary_clear
rb_str_intern
rb_vm_setclassvariable
+ rb_str_bytesize
],
types: %w[
CALL_DATA