ruby/zjit
Stan Lo 2b16f27a35
ZJIT: Fix ObjToString rewrite (#14196)
ZJIT: Fix ObjToString rewrite

Currently, the rewrite for `ObjToString` always replaces it with a
`SendWithoutBlock(to_s)` instruction when the receiver is not a
string literal. This is incorrect because it calls `to_s` on the
receiver even if it's already a string.

This change fixes it by:
- Avoiding the `SendWithoutBlock(to_s)` rewrite
- Implement codegen for `ObjToString`
2025-08-13 13:03:26 -07:00
..
bindgen ZJIT: Profile type+shape distributions (#13901) 2025-08-05 16:56:04 -04:00
src ZJIT: Fix ObjToString rewrite (#14196) 2025-08-13 13:03:26 -07:00
.gitignore
build.rs ZJIT: Add --allow-multiple-definition for make zjit-test 2025-05-21 01:22:55 +09:00
Cargo.lock Use expect-test for HIR tests 2025-04-18 21:53:01 +09:00
Cargo.toml ZJIT: Have make zjit-test use the same Cargo features as miniruby 2025-07-16 14:10:22 -04:00
zjit.mk ZJIT: Start testing againt /test 2025-07-23 19:52:59 -04:00