Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 6295788f0af9a2f4d1e772143ff684362b568d75..2b1890616ff3136ab60e5dfe9b40bea5b06a03ec 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_cache_cells(CacheCells::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 |