| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index d89506e6a606d7edd2fddd1267f5087b85b75db2..7f05b4e2952f3bd63664b4fe40a6063708e973a4 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,
|
|
|