LibJS: Remove unused members from EnterUnwindContext instruction

This commit is contained in:
Andreas Kling 2023-11-11 21:35:38 +01:00
parent b6435ca280
commit 298dfa96a4
Notes: sideshowbarker 2024-07-17 09:37:30 +09:00
3 changed files with 3 additions and 11 deletions

View file

@ -2397,7 +2397,7 @@ Bytecode::CodeGenerationErrorOr<void> TryStatement::generate_bytecode(Bytecode::
auto& target_block = generator.make_block();
generator.switch_to_basic_block(saved_block);
generator.emit<Bytecode::Op::EnterUnwindContext>(Bytecode::Label { target_block }, handler_target, finalizer_target);
generator.emit<Bytecode::Op::EnterUnwindContext>(Bytecode::Label { target_block });
generator.start_boundary(Bytecode::Generator::BlockBoundaryType::Unwind);
if (m_finalizer)
generator.start_boundary(Bytecode::Generator::BlockBoundaryType::ReturnToFinally);