mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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
Notes:
sideshowbarker
2024-07-17 02:37:08 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/aaa81cd3b9 Pull-request: https://github.com/SerenityOS/serenity/pull/21766
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
Reference in a new issue