Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index 7f83f483ba750e9e149da2c8ed580f5f6fe0dee0..4a485b16b76c58fbc75f8036b8a83a9ed06fa878 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -298,7 +298,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitMap(Map* map, |
// When map collection is enabled we have to mark through map's transitions |
// and back pointers in a special way to make these links weak. |
- if (FLAG_collect_maps && map_object->CanTransition()) { |
+ if (map_object->CanTransition()) { |
MarkMapContents(heap, map_object); |
} else { |
StaticVisitor::VisitPointers( |