Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index b5a0bc5cb1a861e895cf43dd2c46619b6aa61b9f..b5130378a62e19d53d156b3a04bc72d8e01ebb7c 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3302,7 +3302,7 @@ MaybeObject* Heap::CreateCode(const CodeDesc& desc, |
} |
code->set_deoptimization_data(empty_fixed_array(), SKIP_WRITE_BARRIER); |
code->set_handler_table(empty_fixed_array(), SKIP_WRITE_BARRIER); |
- code->set_next_code_flushing_candidate(undefined_value()); |
+ code->set_gc_metadata(Smi::FromInt(0)); |
// Allow self references to created code object by patching the handle to |
// point to the newly allocated Code object. |
if (!self_reference.is_null()) { |