Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index f27a436120f5b3791ce3b8832f80517377f283e6..b07a3be56c06a73524bfb764802fec5d30e20575 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4118,7 +4118,7 @@ ACCESSORS(Code, handler_table, FixedArray, kHandlerTableOffset) |
ACCESSORS(Code, deoptimization_data, FixedArray, kDeoptimizationDataOffset) |
ACCESSORS(Code, type_feedback_info, Object, kTypeFeedbackInfoOffset) |
ACCESSORS(Code, gc_metadata, Object, kGCMetadataOffset) |
- |
+INT_ACCESSORS(Code, ic_age, kICAgeOffset) |
byte* Code::instruction_start() { |
return FIELD_ADDR(this, kHeaderSize); |
@@ -4701,6 +4701,7 @@ void Map::ClearCodeCache(Heap* heap) { |
// No write barrier is needed since empty_fixed_array is not in new space. |
// Please note this function is used during marking: |
// - MarkCompactCollector::MarkUnmarkedObject |
+ // - IncrementalMarking::Step |
ASSERT(!heap->InNewSpace(heap->raw_unchecked_empty_fixed_array())); |
WRITE_FIELD(this, kCodeCacheOffset, heap->raw_unchecked_empty_fixed_array()); |
} |