Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 73018849794af8625fa62bee08179af46712f5f6..5dfecdd4eeddbd8a730c17298c8078d1494fa331 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2865,6 +2865,10 @@ void Heap::CreateInitialObjects() { |
cell->set_value(Smi::FromInt(Isolate::kArrayProtectorValid)); |
set_string_length_protector(*cell); |
+ Handle<Cell> array_iterator_cell = factory->NewCell( |
+ handle(Smi::FromInt(Isolate::kArrayProtectorValid), isolate())); |
+ set_array_iterator_protector(*array_iterator_cell); |
+ |
set_serialized_templates(empty_fixed_array()); |
set_weak_stack_trace_list(Smi::kZero); |