| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 7362a3857229301fdb21a27e827cb14190c391bd..82a53a724ae4afc43653ccd87f5145447f576e6c 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -296,8 +296,9 @@ class V8_EXPORT_PRIVATE Factory final {
|
| Handle<JSFunction> function,
|
| Handle<ScopeInfo> scope_info);
|
|
|
| - // Create a function context.
|
| - Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function);
|
| + // Create a function or eval context.
|
| + Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function,
|
| + ScopeType scope_type);
|
|
|
| // Create a catch context.
|
| Handle<Context> NewCatchContext(Handle<JSFunction> function,
|
|
|