| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 90173a71e0a02866d7409f522221ba42bb302951..25f712158ef89c6a64e9336df9a78a89e6377753 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -2687,7 +2687,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;
|
| }
|
|
|
| @@ -3809,6 +3808,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);
|
|
|