mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
LibJS/JIT: Add fastpath for set variable
This commit is contained in:
parent
b3cbe0fdb9
commit
84eecbb10e
8 changed files with 148 additions and 12 deletions
|
@ -32,6 +32,7 @@ struct ExecutionContext {
|
|||
|
||||
static FlatPtr realm_offset() { return OFFSET_OF(ExecutionContext, realm); }
|
||||
static FlatPtr lexical_environment_offset() { return OFFSET_OF(ExecutionContext, lexical_environment); }
|
||||
static FlatPtr variable_environment_offset() { return OFFSET_OF(ExecutionContext, variable_environment); }
|
||||
|
||||
private:
|
||||
explicit ExecutionContext(MarkedVector<Value> existing_arguments, MarkedVector<Value> existing_local_variables);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue