mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
Revert "LibJS/JIT: Clear exception before executing finalizer"
This reverts commit 0daebef727
.
Finally blocks do not unconditionally swallow pending exceptions.
This resolves #21759 and fixes the 2 remaining failing test-js tests.
This commit is contained in:
parent
0391096286
commit
aaa81cd3b9
1 changed files with 0 additions and 1 deletions
|
@ -426,7 +426,6 @@ void Compiler::check_exception()
|
|||
m_assembler.jump(label_for(*handler));
|
||||
no_exception.link(m_assembler);
|
||||
} else if (auto const* finalizer = current_block().finalizer(); finalizer) {
|
||||
store_vm_register(Bytecode::Register::exception(), GPR1);
|
||||
m_assembler.jump_if(Assembler::Operand::Register(GPR0),
|
||||
Assembler::Condition::NotEqualTo,
|
||||
Assembler::Operand::Register(GPR1),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue