mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibJS: Update bytecode generator to use local variables
- Update ECMAScriptFunctionObject::function_declaration_instantiation to initialize local variables - Introduce GetLocal, SetLocal, TypeofLocal that will be used to operate on local variables. - Update bytecode generator to emit instructions for local variables
This commit is contained in:
parent
0daff637e2
commit
ae3a7fd4b8
8 changed files with 170 additions and 37 deletions
|
@ -184,6 +184,7 @@ class HeapBlock;
|
|||
struct ImportEntry;
|
||||
class ImportStatement;
|
||||
class Interpreter;
|
||||
class Identifier;
|
||||
class Intrinsics;
|
||||
struct IteratorRecord;
|
||||
class MetaProperty;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue