Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index e61457991e1769c6a589d1c40c7550de5f9854b2..6bb9ed55a9dc9fc9859888895f748d0ee7e22d1c 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1911,16 +1911,8 @@ void Marker<T>::MarkDescriptorArray(DescriptorArray* descriptors) { |
case CONSTANT_FUNCTION: |
case HANDLER: |
case INTERCEPTOR: |
- base_marker()->MarkObjectAndPush(value); |
- break; |
case CALLBACKS: |
- if (!value->IsAccessorPair()) { |
- base_marker()->MarkObjectAndPush(value); |
- } else if (base_marker()->MarkObjectWithoutPush(value)) { |
- AccessorPair* accessors = AccessorPair::cast(value); |
- MarkAccessorPairSlot(accessors, AccessorPair::kGetterOffset); |
- MarkAccessorPairSlot(accessors, AccessorPair::kSetterOffset); |
- } |
+ base_marker()->MarkObjectAndPush(value); |
break; |
case TRANSITION: |
case NONEXISTENT: |
@@ -1960,21 +1952,6 @@ void Marker<T>::MarkTransitionArray(TransitionArray* transitions) { |
base_marker()->MarkObjectAndPush(HeapObject::cast(key)); |
mark_compact_collector()->RecordSlot(transitions_start, key_slot, key); |
} |
- |
- Object** value_slot = transitions->GetValueSlot(i); |
- if (!(*value_slot)->IsHeapObject()) continue; |
- HeapObject* value = HeapObject::cast(*value_slot); |
- |
- if (value->IsAccessorPair()) { |
- mark_compact_collector()->RecordSlot(transitions_start, |
- value_slot, |
- value); |
- |
- base_marker()->MarkObjectWithoutPush(value); |
- AccessorPair* accessors = AccessorPair::cast(value); |
- MarkAccessorPairSlot(accessors, AccessorPair::kGetterOffset); |
- MarkAccessorPairSlot(accessors, AccessorPair::kSetterOffset); |
- } |
} |
} |