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

LibJS/JIT: Support the Return bytecode op

This commit is contained in:
Andreas Kling 2023-10-18 12:45:24 +02:00
parent 45be2a8f72
commit efe58ebf2f
2 changed files with 11 additions and 0 deletions

View file

@ -45,6 +45,7 @@ private:
void compile_sub(Bytecode::Op::Sub const&);
void compile_mul(Bytecode::Op::Mul const&);
void compile_div(Bytecode::Op::Div const&);
void compile_return(Bytecode::Op::Return const&);
void store_vm_register(Bytecode::Register, Assembler::Reg);
void load_vm_register(Assembler::Reg, Bytecode::Register);