Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 2d6b16ed7b783caca2e84a85b828e182c7b3c0b8..4e0e8a67c2217213c0c0a28939d8d147f01fec47 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -2684,7 +2684,6 @@ MaybeObject* Heap::AllocateTypeFeedbackInfo() { |
if (!maybe_info->To(&info)) return maybe_info; |
} |
info->initialize_storage(); |
- info->set_feedback_vector(empty_fixed_array(), SKIP_WRITE_BARRIER); |
return info; |
} |
@@ -3806,6 +3805,7 @@ MaybeObject* Heap::AllocateSharedFunctionInfo(Object* name) { |
share->set_script(undefined_value(), SKIP_WRITE_BARRIER); |
share->set_debug_info(undefined_value(), SKIP_WRITE_BARRIER); |
share->set_inferred_name(empty_string(), SKIP_WRITE_BARRIER); |
+ share->set_feedback_vector(empty_fixed_array(), SKIP_WRITE_BARRIER); |
share->set_initial_map(undefined_value(), SKIP_WRITE_BARRIER); |
share->set_ast_node_count(0); |
share->set_counters(0); |