LibJS: Fix mix-up between assignment and comparison

This commit is contained in:
Daniel Bertalan 2023-05-01 18:34:18 +02:00 committed by Tim Flynn
parent 00b4976f2c
commit be7bc41470
Notes: sideshowbarker 2024-07-17 05:13:53 +09:00

View file

@ -135,7 +135,7 @@ static void generate_cfg_for_block(BasicBlock const& current_block, PassPipeline
generate_cfg_for_block(*block, executable);
}
} else {
VERIFY(unwind_frames.last() = &frame);
VERIFY(unwind_frames.last() == &frame);
unwind_frames.take_last();
VERIFY(frame.finalizer_targets.is_empty());
}