Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 4aff0d3cb46603a3734845d3b7c61faab2438fb9..8ef7c3c9909d27240ae10d0846924d1e45f9c96e 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1650,7 +1650,7 @@ class MarkCompactMarkingVisitor::ObjectStatsTracker< |
int object_size = obj->Size(); |
ASSERT(map->instance_type() == CODE_TYPE); |
Code* code_obj = Code::cast(obj); |
- heap->RecordCodeSubTypeStats(code_obj->kind(), code_obj->GetAge(), |
+ heap->RecordCodeSubTypeStats(code_obj->kind(), code_obj->GetRawAge(), |
object_size); |
ObjectStatsVisitBase(kVisitCode, map, obj); |
} |