| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index cb979a63716a9a4e7bdf72f344e93aae86d303a6..9b667fc2c49feaef5140476a960a5df60aa51c6a 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -948,10 +948,6 @@ class Heap {
|
| int length,
|
| PretenureFlag pretenure = NOT_TENURED);
|
|
|
| - MUST_USE_RESULT MaybeObject* AllocateRawFixedDoubleArray(
|
| - int length,
|
| - PretenureFlag pretenure);
|
| -
|
| // Allocates a fixed double array with uninitialized values. Returns
|
| // Failure::RetryAfterGC(requested_bytes, space) if the allocation failed.
|
| // Please note this does not perform a garbage collection.
|
| @@ -1502,11 +1498,6 @@ class Heap {
|
| inline intptr_t AdjustAmountOfExternalAllocatedMemory(
|
| intptr_t change_in_bytes);
|
|
|
| - // Allocate uninitialized fixed array.
|
| - MUST_USE_RESULT MaybeObject* AllocateRawFixedArray(int length);
|
| - MUST_USE_RESULT MaybeObject* AllocateRawFixedArray(int length,
|
| - PretenureFlag pretenure);
|
| -
|
| // This is only needed for testing high promotion mode.
|
| void SetNewSpaceHighPromotionModeActive(bool mode) {
|
| new_space_high_promotion_mode_active_ = mode;
|
| @@ -2080,6 +2071,18 @@ class Heap {
|
| // Allocate an uninitialized object in the global property cell space.
|
| MUST_USE_RESULT inline MaybeObject* AllocateRawPropertyCell();
|
|
|
| + // Allocate an uninitialized fixed array.
|
| + MUST_USE_RESULT MaybeObject* AllocateRawFixedArray(
|
| + int length, PretenureFlag pretenure);
|
| +
|
| + // Allocate an uninitialized fixed double array.
|
| + MUST_USE_RESULT MaybeObject* AllocateRawFixedDoubleArray(
|
| + int length, PretenureFlag pretenure);
|
| +
|
| + // Allocate an initialized fixed array with the given filler value.
|
| + MUST_USE_RESULT MaybeObject* AllocateFixedArrayWithFiller(
|
| + int length, PretenureFlag pretenure, Object* filler);
|
| +
|
| // Initializes a JSObject based on its map.
|
| void InitializeJSObjectFromMap(JSObject* obj,
|
| FixedArray* properties,
|
|
|