Index: src/mark-compact.h |
diff --git a/src/mark-compact.h b/src/mark-compact.h |
index 486be6811da9f18250b087f1608b562dddc6a549..51e172b98a337f6cce426f521802d1385c56962b 100644 |
--- a/src/mark-compact.h |
+++ b/src/mark-compact.h |
@@ -198,7 +198,7 @@ class MarkingDeque { |
ASSERT(object->IsHeapObject()); |
if (IsFull()) { |
Marking::BlackToGrey(object); |
- MemoryChunk::IncrementLiveBytes(object->address(), -object->Size()); |
+ MemoryChunk::IncrementLiveBytesFromGC(object->address(), -object->Size()); |
SetOverflowed(); |
} else { |
array_[top_] = object; |