| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index b8110920b22de919ee7968ec22e7461d45c8e6d4..58bdd4bf9857b4c8b2cb787420cc445c8cb080f7 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -729,13 +729,6 @@ class Heap {
|
| int capacity,
|
| ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS);
|
|
|
| - // Allocate a JSArray with no elements
|
| - MUST_USE_RESULT MaybeObject* AllocateJSArrayWithElements(
|
| - FixedArrayBase* array_base,
|
| - ElementsKind elements_kind,
|
| - int length,
|
| - PretenureFlag pretenure = NOT_TENURED);
|
| -
|
| // Returns a deep copy of the JavaScript object.
|
| // Properties and elements are copied too.
|
| // Returns failure if allocation failed.
|
|
|