| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 4656e5c23ac571ac65e2b5ef827efcc1936d2149..6a5e00ce02439c2e8ed8582b76c3d842ed10e64d 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -523,8 +523,10 @@ class Heap {
|
| // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
|
| // failed.
|
| // Please note this function does not perform a garbage collection.
|
| - MUST_USE_RESULT MaybeObject* AllocateMap(InstanceType instance_type,
|
| - int instance_size);
|
| + MUST_USE_RESULT MaybeObject* AllocateMap(
|
| + InstanceType instance_type,
|
| + int instance_size,
|
| + ElementsKind elements_kind = FAST_ELEMENTS);
|
|
|
| // Allocates a partial map for bootstrapping.
|
| MUST_USE_RESULT MaybeObject* AllocatePartialMap(InstanceType instance_type,
|
|
|