Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 2ab002a58434795a29001cf4da1cbe442df38b85..5a5464133886b0a5f2ceaa3b6a25ab4767e0df28 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2808,6 +2808,8 @@ void Heap::CreateInitialObjects() { |
set_weak_stack_trace_list(Smi::FromInt(0)); |
+ set_noscript_shared_function_infos(Smi::FromInt(0)); |
+ |
// Will be filled in by Interpreter::Initialize(). |
set_interpreter_table( |
*interpreter::Interpreter::CreateUninitializedInterpreterTable( |
@@ -2850,6 +2852,7 @@ bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) { |
case kDetachedContextsRootIndex: |
case kWeakObjectToCodeTableRootIndex: |
case kRetainedMapsRootIndex: |
+ case kNoScriptSharedFunctionInfosRootIndex: |
case kWeakStackTraceListRootIndex: |
// Smi values |
#define SMI_ENTRY(type, name, Name) case k##Name##RootIndex: |