Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index bf9d9e51558c065314e6108dd15d8cb5ccb2d3bb..490de3579cc110f9e3f73280f1d94727827edcf6 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -53,7 +53,6 @@ MarkCompactCollector::MarkCompactCollector(Heap* heap) |
#ifdef DEBUG |
state_(IDLE), |
#endif |
- marking_parity_(ODD_MARKING_PARITY), |
was_marked_incrementally_(false), |
evacuation_(false), |
compacting_(false), |
@@ -872,13 +871,6 @@ void MarkCompactCollector::Finish() { |
} |
heap_->incremental_marking()->ClearIdleMarkingDelayCounter(); |
- |
- if (marking_parity_ == EVEN_MARKING_PARITY) { |
- marking_parity_ = ODD_MARKING_PARITY; |
- } else { |
- DCHECK(marking_parity_ == ODD_MARKING_PARITY); |
- marking_parity_ = EVEN_MARKING_PARITY; |
- } |
} |