| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 7d7a236d87fd2c802217adccd0d782c9755d82de..b10af6dc8707162ab8fae49a6461af53e477ff7a 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -647,14 +647,16 @@ class Heap {
|
|
|
| // Allocate a function context.
|
| MUST_USE_RESULT MaybeObject* AllocateFunctionContext(int length,
|
| - JSFunction* closure);
|
| + JSFunction* function);
|
|
|
| // Allocate a catch context.
|
| - MUST_USE_RESULT MaybeObject* AllocateCatchContext(Context* previous,
|
| + MUST_USE_RESULT MaybeObject* AllocateCatchContext(JSFunction* function,
|
| + Context* previous,
|
| String* name,
|
| Object* thrown_object);
|
| // Allocate a 'with' context.
|
| - MUST_USE_RESULT MaybeObject* AllocateWithContext(Context* previous,
|
| + MUST_USE_RESULT MaybeObject* AllocateWithContext(JSFunction* function,
|
| + Context* previous,
|
| JSObject* extension);
|
|
|
| // Allocates a new utility object in the old generation.
|
|
|