Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 8aa6fb85876ef8c7df392e87c0d04fedb5dc28c7..b6c380a600d6720c740e3943ca56e8a2d0af2559 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2805,6 +2805,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( |
@@ -2847,6 +2849,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: |