mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 14:24:57 +00:00
LibJS: Remove unused members from EnterUnwindContext instruction
This commit is contained in:
parent
b6435ca280
commit
298dfa96a4
3 changed files with 3 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue