| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index fc287694e66b4ce91832d0f6223d051311a8c71e..097899bdcbe9b3c15fde4bcd423fb14afc6b91a1 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -257,7 +257,7 @@ class Factory final {
|
| Handle<ScriptContextTable> NewScriptContextTable();
|
|
|
| // Create a module context.
|
| - Handle<Context> NewModuleContext(Handle<JSModule> module,
|
| + Handle<Context> NewModuleContext(Handle<Module> module,
|
| Handle<JSFunction> function,
|
| Handle<ScopeInfo> scope_info);
|
|
|
| @@ -477,7 +477,7 @@ class Factory final {
|
|
|
| Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function);
|
|
|
| - Handle<JSModule> NewJSModule();
|
| + Handle<Module> NewModule(int min_size);
|
|
|
| Handle<JSArrayBuffer> NewJSArrayBuffer(
|
| SharedFlag shared = SharedFlag::kNotShared,
|
|
|