1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-22 21:57:35 +00:00
serenity/Userland/Libraries/LibJIT
Andreas Kling 5b198ccf32 LibJS+LibJIT: Don't turn patchable movs into xors with self
If a mov instruction is meant to be patchable, we don't want to rewrite
it as a xor, since that removes the slot where we'd patch in the right
value later.

Also, make sure to set both size bits in the REX prefix for xoring a
register with itself.
2023-10-27 19:07:22 +02:00
..
Assembler.cpp LibJIT+LibJS: Move JIT::Assembler into a new LibJIT library 2023-10-27 19:07:22 +02:00
Assembler.h LibJS+LibJIT: Don't turn patchable movs into xors with self 2023-10-27 19:07:22 +02:00
CMakeLists.txt LibJIT+LibJS: Move JIT::Assembler into a new LibJIT library 2023-10-27 19:07:22 +02:00