1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:57:46 +00:00

Revert "LibJS/Bytecode: Don't fuse unrelated compare and jump in peephole pass"

This reverts commit c1dbde72e9.
This commit is contained in:
Andreas Kling 2024-03-06 08:04:20 +01:00
parent baf359354b
commit ea0b7192fa
2 changed files with 21 additions and 28 deletions

View file

@ -1,10 +0,0 @@
test("Don't fuse unrelated jump and compare", () => {
function go(a) {
a < 3;
a &&= 1;
a < 3;
a ||= 1;
}
go();
});