mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 00:21:01 +00:00
This patch changes the LibJS bytecode to be a stream of instructions packed one-after-the-other in contiguous memory, instead of a vector of OwnPtr<Instruction>. This should be a lot more cache-friendly. :^) Instructions are also devirtualized and instead have a type field using a new Instruction::Type enum. To iterate over a bytecode stream, one must now use Bytecode::InstructionStreamIterator. |
||
|---|---|---|
| .. | ||
| ASTCodegen.cpp | ||
| Block.cpp | ||
| Block.h | ||
| Generator.cpp | ||
| Generator.h | ||
| Instruction.cpp | ||
| Instruction.h | ||
| Interpreter.cpp | ||
| Interpreter.h | ||
| Label.h | ||
| Op.cpp | ||
| Op.h | ||
| Register.h | ||