| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 4451b5a6a5bc824c4fd2b5378ab99a3fce62c46c..eb91b84c7f4f468b64426a1ae695dabf0cefd86e 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -2779,6 +2779,8 @@ void Heap::CreateInitialObjects() {
|
| ArrayList::cast(*(factory->NewFixedArray(16, TENURED))));
|
| weak_new_space_object_to_code_list()->SetLength(0);
|
|
|
| + set_code_coverage_list(undefined_value());
|
| +
|
| set_script_list(Smi::kZero);
|
|
|
| Handle<SeededNumberDictionary> slow_element_dictionary =
|
| @@ -2901,6 +2903,7 @@ bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) {
|
| case kWeakObjectToCodeTableRootIndex:
|
| case kWeakNewSpaceObjectToCodeListRootIndex:
|
| case kRetainedMapsRootIndex:
|
| + case kCodeCoverageListRootIndex:
|
| case kNoScriptSharedFunctionInfosRootIndex:
|
| case kWeakStackTraceListRootIndex:
|
| case kSerializedTemplatesRootIndex:
|
|
|