Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index beb07b564497d7d87e044adbce43d278a6a12356..2b7fcf3329014519bce32eb6cb30c919b8ddbd04 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -397,7 +397,7 @@ void StaticMarkingVisitor<StaticVisitor>::MarkMapContents( |
} |
// Since descriptor arrays are potentially shared, ensure that only the |
- // descriptors that appeared for this map are marked. The first time a |
+ // descriptors that belong to this map are marked. The first time a |
// non-empty descriptor array is marked, its header is also visited. The slot |
// holding the descriptor array will be implicitly recorded when the pointer |
// fields of this map are visited. |
@@ -410,13 +410,6 @@ void StaticMarkingVisitor<StaticVisitor>::MarkMapContents( |
} |
int start = 0; |
int end = map->NumberOfOwnDescriptors(); |
- Object* back_pointer = map->GetBackPointer(); |
- if (!back_pointer->IsUndefined()) { |
- Map* parent_map = Map::cast(back_pointer); |
- if (descriptors == parent_map->instance_descriptors()) { |
- start = parent_map->NumberOfOwnDescriptors(); |
- } |
- } |
if (start < end) { |
StaticVisitor::VisitPointers(heap, |
descriptors->GetDescriptorStartSlot(start), |