ladybird/Userland/Libraries/LibJS/Bytecode
Andreas Kling a7c1af08ca LibJS: Store bytecode instruction length in instruction itself
Instead of running a big switch statement on the opcode when checking
how long an instruction is, we now simply store that in a member
variable at construction time for instant access.

This yields a 10.2% speed-up on Kraken/ai-astar :^)
2023-09-14 16:11:14 +02:00
..
ASTCodegen.cpp LibJS: Add file & line number to bytecode VM stack traces :^) 2023-09-02 15:37:53 +02:00
BasicBlock.cpp LibJS/Bytecode: Use malloc instead of mmap for BasicBlock buffers 2023-07-13 10:19:10 +02:00
BasicBlock.h LibJS/Bytecode: Do not rethrow caught exception from finally 2023-07-14 17:05:29 +02:00
CodeGenerationError.cpp
CodeGenerationError.h
Executable.cpp
Executable.h LibJS: Add file & line number to bytecode VM stack traces :^) 2023-09-02 15:37:53 +02:00
Generator.cpp LibJS: Add file & line number to bytecode VM stack traces :^) 2023-09-02 15:37:53 +02:00
Generator.h LibJS: Add file & line number to bytecode VM stack traces :^) 2023-09-02 15:37:53 +02:00
IdentifierTable.cpp
IdentifierTable.h
Instruction.cpp LibJS: Add file & line number to bytecode VM stack traces :^) 2023-09-02 15:37:53 +02:00
Instruction.h LibJS: Store bytecode instruction length in instruction itself 2023-09-14 16:11:14 +02:00
Interpreter.cpp LibJS: Only update EC instruction pointer when pushing to EC stack 2023-09-02 19:24:29 +02:00
Interpreter.h LibJS: Add file & line number to bytecode VM stack traces :^) 2023-09-02 15:37:53 +02:00
Label.h
Op.cpp LibJS: Stop propagating small OOM errors from the Error object 2023-09-09 13:03:25 -04:00
Op.h LibJS: Store bytecode instruction length in instruction itself 2023-09-14 16:11:14 +02:00
RegexTable.cpp LibJS/Bytecode: Don't reparse regular expressions on instantiation 2023-07-13 13:30:49 +02:00
RegexTable.h LibJS/Bytecode: Don't reparse regular expressions on instantiation 2023-07-13 13:30:49 +02:00
Register.h LibJS/Bytecode: Keep saved return value in call frame register 2023-07-21 19:15:33 +02:00
StringTable.cpp
StringTable.h