diff options
author | Aaron Patterson <[email protected]> | 2023-09-07 06:54:05 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-07 09:54:05 -0400 |
commit | 0adca625ee34ced92da68ba144de32f44e7300cd (patch) | |
tree | d5939e014e7f986e00bb13f837e0b26fe5a4dced /yjit/src/cruby.rs | |
parent | 0c8928721e19dda1ce7b1a8797b18d199207708c (diff) |
Remove function call for String#bytesize (#8389)
* Remove function call for String#bytesize
String size is stored in a consistent location, so we can eliminate the
function call.
* Update yjit/src/codegen.rs
Co-authored-by: Takashi Kokubun <[email protected]>
---------
Co-authored-by: Maxime Chevalier-Boisvert <[email protected]>
Co-authored-by: Takashi Kokubun <[email protected]>
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'yjit/src/cruby.rs')
-rw-r--r-- | yjit/src/cruby.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/yjit/src/cruby.rs b/yjit/src/cruby.rs index a8234e744a..274331755f 100644 --- a/yjit/src/cruby.rs +++ b/yjit/src/cruby.rs @@ -135,7 +135,6 @@ extern "C" { ic: ICVARC, ) -> VALUE; pub fn rb_vm_ic_hit_p(ic: IC, reg_ep: *const VALUE) -> bool; - pub fn rb_str_bytesize(str: VALUE) -> VALUE; } // Renames |