|
@@ -29,7 +29,7 @@ struct ExecutionContext {
|
|
void visit_edges(Cell::Visitor&);
|
|
void visit_edges(Cell::Visitor&);
|
|
|
|
|
|
private:
|
|
private:
|
|
- explicit ExecutionContext(MarkedVector<Value> existing_arguments);
|
|
|
|
|
|
+ explicit ExecutionContext(MarkedVector<Value> existing_arguments, MarkedVector<Value> existing_local_variables);
|
|
|
|
|
|
public:
|
|
public:
|
|
GCPtr<FunctionObject> function; // [[Function]]
|
|
GCPtr<FunctionObject> function; // [[Function]]
|
|
@@ -46,6 +46,7 @@ public:
|
|
DeprecatedFlyString function_name;
|
|
DeprecatedFlyString function_name;
|
|
Value this_value;
|
|
Value this_value;
|
|
MarkedVector<Value> arguments;
|
|
MarkedVector<Value> arguments;
|
|
|
|
+ MarkedVector<Value> local_variables;
|
|
bool is_strict_mode { false };
|
|
bool is_strict_mode { false };
|
|
|
|
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#skip-when-determining-incumbent-counter
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#skip-when-determining-incumbent-counter
|