| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index cc689df17bdef30ffae4a3133aa4e9d5150a4c8a..67981a472b85d49bd518482d70b8b6dd9f2cead9 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -476,8 +476,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,
|
|
|