1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00

Revert "LibJS/Bytecode: Add peephole optimization pass and fuse compare+jump"

This reverts commit 4438ec481c.

Fixes #23480.
This commit is contained in:
Andreas Kling 2024-03-06 08:05:42 +01:00
parent c4a0afbe28
commit cf81bf48c6
8 changed files with 4 additions and 194 deletions

View file

@ -63,13 +63,6 @@ static void generate_cfg_for_block(BasicBlock const& current_block, PassPipeline
enter_label(true_target, current_block);
return;
}
#define JS_ENUMERATE_FUSABLE_BINARY_OP(PreOp, ...) \
case Jump##PreOp:
JS_ENUMERATE_FUSABLE_BINARY_OPS(JS_ENUMERATE_FUSABLE_BINARY_OP)
#undef JS_ENUMERATE_FUSABLE_BINARY_OP
case JumpIf:
case JumpNullish:
case JumpUndefined: {