diff options
author | Kevin Menard <[email protected]> | 2024-08-02 15:45:22 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-02 15:45:22 -0400 |
commit | 04a6165ac07f8f2107fbbd3a5665944fb27bc092 (patch) | |
tree | b9cf3af94f306d4f862979f5bcc717a938bef2ac /test | |
parent | 3f93ef06a852af3f44d3c7a2ed62a670f9c3ff29 (diff) |
YJIT: Enhance the `String#<<` method substitution to handle integer codepoint values. (#11032)
* Document why we need to explicitly spill registers.
* Simplify passing a byte value to `str_buf_cat`.
* YJIT: Enhance the `String#<<` method substitution to handle integer codepoint values.
* YJIT: Move runtime type check into YJIT.
Performing the check in YJIT means we can make assumptions about the type. It also improves correctness of stack traces in cases where the codepoint argument is not a String or a Fixnum.
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions