Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index df66082f82f4ce8841de14ff0791d2493def9741..b31564f3638e40ad74acf8cc61a965c6185669c9 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3795,6 +3795,7 @@ MaybeObject* Heap::CreateCode(const CodeDesc& desc, |
code->set_handler_table(empty_fixed_array(), SKIP_WRITE_BARRIER); |
code->set_gc_metadata(Smi::FromInt(0)); |
code->set_ic_age(global_ic_age_); |
+ code->set_prologue_offset(kPrologueOffsetNotSet); |
// Allow self references to created code object by patching the handle to |
// point to the newly allocated Code object. |
if (!self_reference.is_null()) { |