Chromium Code Reviews| Index: src/heap.h |
| diff --git a/src/heap.h b/src/heap.h |
| index 49cce59916d641bd8a0571e3da25658012f84284..23fedd2638ed1c761022bbd74a3cbcf0992151f1 100644 |
| --- a/src/heap.h |
| +++ b/src/heap.h |
| @@ -693,6 +693,13 @@ class Heap { |
| // Please note this does not perform a garbage collection. |
| MUST_USE_RESULT MaybeObject* AllocateFunctionPrototype(JSFunction* function); |
| + |
|
rossberg
2013/04/25 11:00:55
Style: remove extra line
Dmitry Lomov (no reviews)
2013/04/25 11:48:01
Done.
|
| + // Allocates the JS ArrayBuffer object. |
|
rossberg
2013/04/25 11:00:55
Nit: "Allocate a JS ArrayBuffer..."
Dmitry Lomov (no reviews)
2013/04/25 11:48:01
Done.
|
| + // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
| + // failed. |
| + // Please note this does not perform a garbage collection. |
| + MUST_USE_RESULT MaybeObject* AllocateJSArrayBuffer(); |
| + |
| // Allocates a Harmony proxy or function proxy. |
| // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
| // failed. |