| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 8986087486995ac660de31f0d164b0a03ebc37f4..0c33051121f046970b4ca9de91d559154b1dfa61 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -2393,7 +2393,8 @@ AllocationResult Heap::AllocateMap(InstanceType instance_type,
|
| map->set_bit_field(0);
|
| map->set_bit_field2(1 << Map::kIsExtensible);
|
| int bit_field3 = Map::EnumLengthBits::encode(kInvalidEnumCacheSentinel) |
|
| - Map::OwnsDescriptors::encode(true);
|
| + Map::OwnsDescriptors::encode(true) |
|
| + Map::Counter::encode(Map::kRetainingCounterStart);
|
| map->set_bit_field3(bit_field3);
|
| map->set_elements_kind(elements_kind);
|
|
|
|
|