1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-13 14:47:36 +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
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
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
StringTable.cpp
StringTable.h