ladybird/Userland/Libraries/LibJS/Bytecode
Andreas Kling f5feb1d2cd LibJS: Very basic support for "new" construction in bytecode VM
This patch adds a CallType to the Bytecode::Op::Call instruction,
which can be either Call or Construct. We then generate Construct
calls for the NewExpression AST node.

When executed, these get fed into VM::construct().
2021-06-10 23:01:49 +02:00
..
ASTCodegen.cpp LibJS: Very basic support for "new" construction in bytecode VM 2021-06-10 23:01:49 +02:00
BasicBlock.cpp LibJS: Allocate 4 KiB for Bytecode::BasicBlock 2021-06-10 21:59:49 +02:00
BasicBlock.h LibJS: Implement bytecode generation for try..catch..finally 2021-06-10 21:59:46 +02:00
Generator.cpp LibJS: Implement bytecode generation for BreakStatement 2021-06-10 21:48:20 +04:30
Generator.h LibJS: Always keep the global object in bytecode VM register $1 2021-06-10 21:59:49 +02:00
Instruction.cpp LibJS: Move Instruction::length() to the Op.h header 2021-06-09 09:24:32 +02:00
Instruction.h LibJS: Generate bytecode for entering nested lexical environments 2021-06-10 22:20:23 +02:00
Interpreter.cpp LibJS: Always keep the global object in bytecode VM register $1 2021-06-10 21:59:49 +02:00
Interpreter.h LibJS: Implement bytecode generation for try..catch..finally 2021-06-10 21:59:46 +02:00
Label.h LibJS: Generate bytecode in basic blocks instead of one big block 2021-06-09 09:07:29 +02:00
Op.cpp LibJS: Very basic support for "new" construction in bytecode VM 2021-06-10 23:01:49 +02:00
Op.h LibJS: Very basic support for "new" construction in bytecode VM 2021-06-10 23:01:49 +02:00
Register.h LibJS: Always keep the global object in bytecode VM register $1 2021-06-10 21:59:49 +02:00
StringTable.cpp LibJS: Store strings in a string table 2021-06-09 17:42:52 +02:00
StringTable.h LibJS: Store strings in a string table 2021-06-09 17:42:52 +02:00