ladybird/Userland/Libraries/LibJS/Bytecode
Andreas Kling dc63958478 LibJS: Support basic function calls in the bytecode world :^)
This patch adds the Call bytecode instruction which is emitted for the
CallExpression AST node.

It's pretty barebones and doesn't handle 'this' values properly, etc.
But it can perform basic function calls! :^)

Note that the called function will *not* execute as bytecode, but will
simply fall back into the old codepath and use the AST interpreter.
2021-06-07 18:11:59 +02:00
..
ASTCodegen.cpp LibJS: Support basic function calls in the bytecode world :^) 2021-06-07 18:11:59 +02:00
Block.cpp LibJS: Start fleshing out a bytecode for the JavaScript engine :^) 2021-06-07 18:11:59 +02:00
Block.h LibJS: Start fleshing out a bytecode for the JavaScript engine :^) 2021-06-07 18:11:59 +02:00
Generator.cpp LibJS: Add basic support for while loops in the bytecode engine 2021-06-07 18:11:59 +02:00
Generator.h LibJS: Add basic support for while loops in the bytecode engine 2021-06-07 18:11:59 +02:00
Instruction.cpp LibJS: Start fleshing out a bytecode for the JavaScript engine :^) 2021-06-07 18:11:59 +02:00
Instruction.h LibJS: Start fleshing out a bytecode for the JavaScript engine :^) 2021-06-07 18:11:59 +02:00
Interpreter.cpp LibJS: Create a global/outermost CallFrame for Bytecode::Interpreter 2021-06-07 18:11:59 +02:00
Interpreter.h LibJS: Add basic support for while loops in the bytecode engine 2021-06-07 18:11:59 +02:00
Label.h LibJS: Add basic support for while loops in the bytecode engine 2021-06-07 18:11:59 +02:00
Op.cpp LibJS: Support basic function calls in the bytecode world :^) 2021-06-07 18:11:59 +02:00
Op.h LibJS: Support basic function calls in the bytecode world :^) 2021-06-07 18:11:59 +02:00
Register.h LibJS: Print bytecode registers with format "$num" instead of "rnum" 2021-06-07 18:11:59 +02:00