Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index a67bf050b2ee2aa6c677aff8d1cd308d05f654ea..e1817ba8b46435a234050b6c4db2746a52075827 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -3691,6 +3691,7 @@ AllocationResult Heap::AllocateCode(int object_size, bool immovable) { |
DCHECK(isolate_->code_range() == NULL || !isolate_->code_range()->valid() || |
isolate_->code_range()->contains(code->address())); |
code->set_gc_metadata(Smi::FromInt(0)); |
+ code->set_ic_age(global_ic_age_); |
return code; |
} |