Index: src/mark-compact-inl.h |
diff --git a/src/mark-compact-inl.h b/src/mark-compact-inl.h |
index 32f4cdd17607209c31f8366c3ea3e544084f759f..7cacdb719d864c2a7871c9208fc89479ab47b4fe 100644 |
--- a/src/mark-compact-inl.h |
+++ b/src/mark-compact-inl.h |
@@ -44,7 +44,6 @@ MarkBit Marking::MarkBitFrom(Address addr) { |
void MarkCompactCollector::SetFlags(int flags) { |
- force_compaction_ = ((flags & Heap::kForceCompactionMask) != 0); |
sweep_precisely_ = ((flags & Heap::kMakeHeapIterableMask) != 0); |
} |
@@ -53,7 +52,6 @@ void MarkCompactCollector::MarkObject(HeapObject* obj, MarkBit mark_bit) { |
ASSERT(Marking::MarkBitFrom(obj) == mark_bit); |
if (!mark_bit.Get()) { |
mark_bit.Set(); |
- tracer_->increment_marked_count(); |
#ifdef DEBUG |
UpdateLiveObjectCount(obj); |
#endif |
@@ -64,7 +62,6 @@ void MarkCompactCollector::MarkObject(HeapObject* obj, MarkBit mark_bit) { |
void MarkCompactCollector::SetMark(HeapObject* obj, MarkBit mark_bit) { |
ASSERT(Marking::MarkBitFrom(obj) == mark_bit); |
mark_bit.Set(); |
- tracer_->increment_marked_count(); |
#ifdef DEBUG |
UpdateLiveObjectCount(obj); |
#endif |