| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 1f7526e71a58e146706c9b6922ab40c25164e457..a732baa56acebd5077cf1dc2d585c6d9a56aa4ba 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -716,12 +716,6 @@ class Heap {
|
| PretenureFlag pretenure = NOT_TENURED,
|
| AllocationSite* allocation_site = NULL);
|
|
|
| - MUST_USE_RESULT MaybeObject* AllocateJSArrayStorage(
|
| - JSArray* array,
|
| - int length,
|
| - int capacity,
|
| - ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS);
|
| -
|
| // Returns a deep copy of the JavaScript object.
|
| // Properties and elements are copied too.
|
| // Returns failure if allocation failed.
|
| @@ -983,14 +977,6 @@ class Heap {
|
| MUST_USE_RESULT MaybeObject* CopyConstantPoolArrayWithMap(
|
| ConstantPoolArray* src, Map* map);
|
|
|
| - // Allocates a fixed array initialized with the hole values.
|
| - // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
|
| - // failed.
|
| - // Please note this does not perform a garbage collection.
|
| - MUST_USE_RESULT MaybeObject* AllocateFixedArrayWithHoles(
|
| - int length,
|
| - PretenureFlag pretenure = NOT_TENURED);
|
| -
|
| MUST_USE_RESULT MaybeObject* AllocateConstantPoolArray(
|
| int number_of_int64_entries,
|
| int number_of_code_ptr_entries,
|
| @@ -1004,13 +990,6 @@ class Heap {
|
| int length,
|
| PretenureFlag pretenure = NOT_TENURED);
|
|
|
| - // Allocates a fixed double array with hole values. Returns
|
| - // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed.
|
| - // Please note this does not perform a garbage collection.
|
| - MUST_USE_RESULT MaybeObject* AllocateFixedDoubleArrayWithHoles(
|
| - int length,
|
| - PretenureFlag pretenure = NOT_TENURED);
|
| -
|
| // AllocateHashTable is identical to AllocateFixedArray except
|
| // that the resulting object has hash_table_map as map.
|
| MUST_USE_RESULT MaybeObject* AllocateHashTable(
|
|
|