1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/yjit
Alan Wu 5d95cd99f4 YJIT: Reset dropped_bytes when patching code
We switch to a new page when we detect dropped_bytes flipping from false
to true. Previously, when we patch code for invalidation during code gc,
we start with the flag being set to true, so we failed to apply patches
that straddle pages. We would write out jumps half way and then stop,
which left the code corrupted.

Reset the flag before patching so we patch across pages properly.
2022-11-08 16:09:02 -05:00
..
bindgen Implement optimize call (#6691) 2022-11-08 15:28:28 -05:00
src YJIT: Reset dropped_bytes when patching code 2022-11-08 16:09:02 -05:00
.gitignore Rust YJIT 2022-04-27 11:00:22 -04:00
Cargo.lock
Cargo.toml YJIT: fold the "asm_comments" feature into "disasm" (#6591) 2022-10-19 14:03:07 -04:00
not_gmake.mk YJIT: Support MAKE=bmake for release build 2022-09-20 14:17:27 -04:00
yjit.mk YJIT: Support MAKE=bmake for release build 2022-09-20 14:17:27 -04:00