mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-03 17:56:58 +00:00
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.