| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 2febb5df38dde821efa0f201c8a0384f28aafaf0..6c29a0afc2498af37ed3760f01337d83843d0226 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -452,6 +452,13 @@ class Heap {
|
| // Please note this does not perform a garbage collection.
|
| MUST_USE_RESULT MaybeObject* AllocateFunctionPrototype(JSFunction* function);
|
|
|
| + // Allocates a Harmony Proxy.
|
| + // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
|
| + // failed.
|
| + // Please note this does not perform a garbage collection.
|
| + MUST_USE_RESULT MaybeObject* AllocateJSProxy(Object* handler,
|
| + Object* prototype);
|
| +
|
| // Reinitialize an JSGlobalProxy based on a constructor. The object
|
| // must have the same size as objects allocated using the
|
| // constructor. The object is reinitialized and behaves as an
|
|
|