1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

LibJS/JIT: Add support for Add/Sub/Mul/Div bytecode ops

This commit is contained in:
Andreas Kling 2023-10-18 12:37:17 +02:00
parent 891b071654
commit 45be2a8f72
2 changed files with 74 additions and 2 deletions

View file

@ -41,6 +41,10 @@ private:
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 compile_add(Bytecode::Op::Add const&);
void compile_sub(Bytecode::Op::Sub const&);
void compile_mul(Bytecode::Op::Mul const&);
void compile_div(Bytecode::Op::Div const&);
void store_vm_register(Bytecode::Register, Assembler::Reg);
void load_vm_register(Assembler::Reg, Bytecode::Register);