| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 6295788f0af9a2f4d1e772143ff684362b568d75..ba9dea09c41dd7288d4a7ce33b10ce20a9f7d8e6 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -3292,6 +3292,8 @@ MaybeObject* Heap::CreateCode(const CodeDesc& desc,
|
| code->set_check_type(RECEIVER_MAP_CHECK);
|
| }
|
| code->set_deoptimization_data(empty_fixed_array(), SKIP_WRITE_BARRIER);
|
| + code->set_type_feedback_cells(TypeFeedbackCells::cast(empty_fixed_array()),
|
| + SKIP_WRITE_BARRIER);
|
| code->set_handler_table(empty_fixed_array(), SKIP_WRITE_BARRIER);
|
| code->set_next_code_flushing_candidate(undefined_value());
|
| // Allow self references to created code object by patching the handle to
|
|
|