Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 6139080bfa340253474a791c60e3d0c7c475f787..a25fbf79e72568cde40bfebe64ace1401f1382e9 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3291,7 +3291,7 @@ MaybeObject* Heap::AllocateSharedFunctionInfo(Object* name) { |
share->set_name(name); |
Code* illegal = isolate_->builtins()->builtin(Builtins::kIllegal); |
share->set_code(illegal); |
- share->ClearOptimizedCodeMap(); |
+ share->set_optimized_code_map(Smi::FromInt(0)); |
share->set_scope_info(ScopeInfo::Empty(isolate_)); |
Code* construct_stub = |
isolate_->builtins()->builtin(Builtins::kJSConstructStubGeneric); |