1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-13 22:12:07 +00:00
serenity/Userland/Libraries/LibJS/Bytecode
Ali Mohammad Pur 1bbfaf8627 LibJS: More properly implement scoping rules in bytecode codegen
Now we emit CreateVariable and SetVariable with the appropriate
initialization/environment modes, much closer to the spec.
This makes a whole lot of things like let/const variables, function
and variable hoisting and some other things work :^)
2022-02-13 14:41:33 +00:00
..
Pass LibJS: Avoid unnecessary copies in MergeBlocks codegen pass 2022-01-01 15:40:39 +01:00
ASTCodegen.cpp LibJS: More properly implement scoping rules in bytecode codegen 2022-02-13 14:41:33 +00:00
BasicBlock.cpp
BasicBlock.h
CodeGenerationError.h LibJS: Make ASTNode::generate_bytecode() fallible 2022-02-13 14:41:33 +00:00
Executable.cpp
Executable.h
Generator.cpp LibJS: Make ASTNode::generate_bytecode() fallible 2022-02-13 14:41:33 +00:00
Generator.h LibJS: More properly implement scoping rules in bytecode codegen 2022-02-13 14:41:33 +00:00
IdentifierTable.cpp
IdentifierTable.h
Instruction.cpp
Instruction.h LibJS: More properly implement scoping rules in bytecode codegen 2022-02-13 14:41:33 +00:00
Interpreter.cpp LibJS: More properly implement scoping rules in bytecode codegen 2022-02-13 14:41:33 +00:00
Interpreter.h LibJS: More properly implement scoping rules in bytecode codegen 2022-02-13 14:41:33 +00:00
Label.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
Op.cpp LibJS: More properly implement scoping rules in bytecode codegen 2022-02-13 14:41:33 +00:00
Op.h LibJS: More properly implement scoping rules in bytecode codegen 2022-02-13 14:41:33 +00:00
PassManager.h
Register.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
StringTable.cpp
StringTable.h