diff options
author | Maxime Chevalier-Boisvert <[email protected]> | 2024-03-06 15:56:30 -0500 |
---|---|---|
committer | <[email protected]> | 2024-03-06 20:56:30 +0000 |
commit | 38a4b5c1fad4790c8170112e9a97bf165b48cdbd () | |
tree | 069460f363c7b3346c46a67e7c78daf7ccd40306 /yjit/src/cruby.rs | |
parent | d4f3dcf4dff80ded472ba3061e62c6c676ffab8c (diff) |
YJIT: String#getbyte codegen (#10188)
* WIP getbyte implementation * WIP String#getbyte implementation * Fix whitespace in stats.rs * fix? * Fix whitespace, add comment --------- Co-authored-by: Aaron Patterson <[email protected]>
-rw-r--r-- | yjit/src/cruby.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -737,6 +737,9 @@ mod manual_defs { pub const RUBY_OFFSET_RSTRUCT_AS_HEAP_PTR: i32 = 24; // struct RStruct, subfield "as.heap.ptr" pub const RUBY_OFFSET_RSTRUCT_AS_ARY: i32 = 16; // struct RStruct, subfield "as.ary" // Constants from rb_control_frame_t vm_core.h pub const RUBY_OFFSET_CFP_PC: i32 = 0; pub const RUBY_OFFSET_CFP_SP: i32 = 8; |