Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 2140a5ed21f93ed91476d3c1d5bb28f906bee8fa..321f7e4585600dac155dfe81a52f928f9147d29c 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -1237,7 +1237,7 @@ void Heap::ClearNormalizedMapCaches() { |
if (!cache->IsUndefined()) { |
NormalizedMapCache::cast(cache)->Clear(); |
} |
- context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK); |
+ context = Context::cast(context)->next_context_link(); |
} |
} |
@@ -2910,8 +2910,12 @@ void Heap::CreateInitialObjects() { |
cell->set_value(the_hole_value()); |
set_empty_property_cell(*cell); |
- Handle<PropertyCell> species_cell = factory->NewPropertyCell(); |
- species_cell->set_value(Smi::FromInt(Isolate::kArrayProtectorValid)); |
+ Handle<Cell> is_concat_spreadable_cell = factory->NewCell( |
+ handle(Smi::FromInt(Isolate::kArrayProtectorValid), isolate())); |
+ set_array_is_concat_spreadable_protector(*is_concat_spreadable_cell); |
+ |
+ Handle<Cell> species_cell = factory->NewCell( |
+ handle(Smi::FromInt(Isolate::kArrayProtectorValid), isolate())); |
set_species_protector(*species_cell); |
set_weak_stack_trace_list(Smi::FromInt(0)); |