Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 42e56ca1eb9e2bb40498d9ea2d341c71a67f6b4e..2a4dba5933721724c00c42e15ca42a102ee95b79 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; |
} |
@@ -3779,6 +3778,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); |