Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 62501729283ef0244cf3341fccf9342750711d24..8fbd1430c4d3fc6441b4935010bec854d45f559c 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -2343,6 +2343,7 @@ MaybeObject* Heap::AllocateSharedFunctionInfo(Object* name) { |
share->set_name(name); |
Code* illegal = isolate_->builtins()->builtin(Builtins::kIllegal); |
share->set_code(illegal); |
+ share->set_optimized_code_map(Smi::FromInt(0)); |
share->set_scope_info(SerializedScopeInfo::Empty()); |
Code* construct_stub = isolate_->builtins()->builtin( |
Builtins::kJSConstructStubGeneric); |