Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index c4086172d272f4230dc17083568ccb78be22a39c..4c89a58674245a382acfb00c0c9da888e36d55f4 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -412,7 +412,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitCode(Map* map, |
Heap* heap = map->GetHeap(); |
Code* code = Code::cast(object); |
if (FLAG_age_code && !heap->isolate()->serializer_enabled()) { |
- code->MakeOlder(heap->mark_compact_collector()->marking_parity()); |
+ code->MakeOlder(); |
} |
CodeBodyVisitor::Visit(map, object); |
} |