Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index dd1f710b25224a9521636d12cb221871a39e4f59..3aaff73e247935ab65438c212e204d829df14072 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -530,7 +530,8 @@ class Heap { |
MUST_USE_RESULT MaybeObject* AllocateJSObject( |
JSFunction* constructor, PretenureFlag pretenure = NOT_TENURED); |
- MUST_USE_RESULT MaybeObject* AllocateJSModule(); |
+ MUST_USE_RESULT MaybeObject* AllocateJSModule(Context* context, |
+ ScopeInfo* scope_info); |
// Allocate a JSArray with no elements |
MUST_USE_RESULT MaybeObject* AllocateEmptyJSArray( |
@@ -824,8 +825,7 @@ class Heap { |
MUST_USE_RESULT MaybeObject* AllocateGlobalContext(); |
// Allocate a module context. |
- MUST_USE_RESULT MaybeObject* AllocateModuleContext(Context* previous, |
- ScopeInfo* scope_info); |
+ MUST_USE_RESULT MaybeObject* AllocateModuleContext(ScopeInfo* scope_info); |
// Allocate a function context. |
MUST_USE_RESULT MaybeObject* AllocateFunctionContext(int length, |