ladybird/Userland/Libraries/LibJS/Bytecode
Andreas Kling f2863b5a89 LibJS: Generate bytecode for do...while statements :^)
This was quite straightforward using the same label/jump machinery that
we added for while statements.

The main addition here is a new JumpIfTrue bytecode instruction.
2021-06-07 18:11:59 +02:00
..
ASTCodegen.cpp LibJS: Generate bytecode for do...while statements :^) 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: Add basic support for while loops in the bytecode engine 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: Generate bytecode for do...while statements :^) 2021-06-07 18:11:59 +02:00
Op.h LibJS: Generate bytecode for do...while statements :^) 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