Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 12c9d043732aa9a25aec6214d4bb802899a9bc60..8fec443c1bf5de1b1f8e1c09e1648bf6656a83f0 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -121,15 +121,6 @@ class ObjectMarking : public AllStatic { |
MemoryChunk::IncrementLiveBytes<mode>(obj, obj->Size()); |
} |
- template <MarkingMode mode = MarkingMode::FULL> |
- V8_INLINE static void AnyToGrey(HeapObject* obj) { |
- MarkBit markbit = MarkBitFrom<mode>(obj); |
- if (Marking::IsBlack(markbit)) { |
- MemoryChunk::IncrementLiveBytes<mode>(obj, -obj->Size()); |
- } |
- Marking::AnyToGrey(markbit); |
- } |
- |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectMarking); |
}; |