summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp b/Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp
index 42279bef2a..a708cb6d0c 100644
--- a/Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp
+++ b/Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp
@@ -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());
}