diff --git a/Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp b/Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp index c92cf1fb8b8..180e6dfe14e 100644 --- a/Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Pass/GenerateCFG.cpp @@ -23,7 +23,7 @@ static BasicBlock const* next_handler_or_finalizer() return unwind_frames.last()->handler ?: unwind_frames.last()->finalizer; } -static void generate_cfg_for_block(BasicBlock const& current_block, PassPipelineExecutable executable) +static void generate_cfg_for_block(BasicBlock const& current_block, PassPipelineExecutable& executable) { seen_blocks.set(¤t_block);