| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 3ee3f0b4df34542c5c3e863dc18268b1692f2a6f..26cffc8fb5524e51310776f74c2fbc3e0e7edf8b 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -2449,6 +2449,7 @@ AllocationResult Heap::AllocatePartialMap(InstanceType instance_type,
|
| Map::OwnsDescriptors::encode(true) |
|
| Map::Counter::encode(Map::kRetainingCounterStart);
|
| reinterpret_cast<Map*>(result)->set_bit_field3(bit_field3);
|
| + reinterpret_cast<Map*>(result)->set_weak_cell_cache(Smi::FromInt(0));
|
| return result;
|
| }
|
|
|
| @@ -2471,6 +2472,7 @@ AllocationResult Heap::AllocateMap(InstanceType instance_type,
|
| map->set_code_cache(empty_fixed_array(), SKIP_WRITE_BARRIER);
|
| map->set_dependent_code(DependentCode::cast(empty_fixed_array()),
|
| SKIP_WRITE_BARRIER);
|
| + map->set_weak_cell_cache(Smi::FromInt(0));
|
| map->init_transitions(undefined_value());
|
| map->set_unused_property_fields(0);
|
| map->set_instance_descriptors(empty_descriptor_array());
|
|
|