Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index bb435456b0d10205d8e2c89ff687821b2e0cb3d1..0485fdd9ea98a2565b0c6fe07f27d18711f72890 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -163,8 +163,7 @@ class Factory { |
Handle<Context> NewGlobalContext(); |
// Create a module context. |
- Handle<Context> NewModuleContext(Handle<Context> previous, |
- Handle<ScopeInfo> scope_info); |
+ Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info); |
// Create a function context. |
Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function); |
@@ -267,7 +266,8 @@ class Factory { |
Handle<JSObject> NewJSObjectFromMap(Handle<Map> map); |
// JS modules are pretenured. |
- Handle<JSModule> NewJSModule(); |
+ Handle<JSModule> NewJSModule(Handle<Context> context, |
+ Handle<ScopeInfo> scope_info); |
// JS arrays are pretenured when allocated by the parser. |
Handle<JSArray> NewJSArray( |