diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2023-05-01 18:34:18 +0200 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-05-02 07:03:57 -0400 |
commit | be7bc414701193fd0f40ed5d01c020b9362bda82 (patch) | |
tree | 4e6674f67270982510b50454eb1d1f862a8b2f97 | |
parent | 00b4976f2cd5b26e557ed4f5995bc64f64f2e664 (diff) | |
download | serenity-be7bc414701193fd0f40ed5d01c020b9362bda82.zip |
LibJS: Fix mix-up between assignment and comparison
-rw-r--r-- | Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp | 2 |
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()); } |