1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

LibJS/JIT: Add support for "throw" keyword

This commit is contained in:
Geo25rey 2023-10-17 19:20:14 -04:00 committed by Andreas Kling
parent ed0d2bce83
commit 891b071654
2 changed files with 13 additions and 1 deletions

View file

@ -40,6 +40,7 @@ private:
void compile_increment(Bytecode::Op::Increment const&);
void compile_enter_unwind_context(Bytecode::Op::EnterUnwindContext const&);
void compile_leave_unwind_context(Bytecode::Op::LeaveUnwindContext const&);
void compile_throw(Bytecode::Op::Throw const&);
void store_vm_register(Bytecode::Register, Assembler::Reg);
void load_vm_register(Assembler::Reg, Bytecode::Register);