| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 06c54a9bc00dde300d3f53c1b9752264a7ac507a..8877cce7ebada5b1d8272eafc1e5651acecc25cb 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -2859,8 +2859,11 @@ MaybeObject* Heap::AllocatePropertyCell(Object* value) {
|
| }
|
| HeapObject::cast(result)->set_map_no_write_barrier(
|
| global_property_cell_map());
|
| - PropertyCell::cast(result)->set_value(value);
|
| - PropertyCell::cast(result)->set_type(Type::None());
|
| + PropertyCell* cell = PropertyCell::cast(result);
|
| + cell->set_dependent_code(DependentCode::cast(empty_fixed_array()),
|
| + SKIP_WRITE_BARRIER);
|
| + cell->set_value(value);
|
| + cell->set_type(Type::None());
|
| return result;
|
| }
|
|
|
|
|