1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibJS: Execute the finalizer when returning from a try block in the JIT

This fixes 1 of the 2 remaining failing test-js tests.
This commit is contained in:
Idan Horowitz 2023-10-28 17:37:59 +03:00 committed by Andreas Kling
parent 78cac671b6
commit 0768bf2623
2 changed files with 45 additions and 0 deletions

View file

@ -112,6 +112,7 @@ private:
void compile_call(Bytecode::Op::Call const&);
void compile_typeof_variable(Bytecode::Op::TypeofVariable const&);
void compile_set_variable(Bytecode::Op::SetVariable const&);
void compile_continue_pending_unwind(Bytecode::Op::ContinuePendingUnwind const&);
void store_vm_register(Bytecode::Register, Assembler::Reg);
void load_vm_register(Assembler::Reg, Bytecode::Register);