| Index: src/mark-compact-inl.h
|
| diff --git a/src/mark-compact-inl.h b/src/mark-compact-inl.h
|
| index 3e283072f2a768d33f395ed040769b8e55a4878c..3ebc6c532d3bbab9a226ff5441b31b9c1b3df964 100644
|
| --- a/src/mark-compact-inl.h
|
| +++ b/src/mark-compact-inl.h
|
| @@ -96,6 +96,12 @@ void MarkCompactCollector::RecordSlot(Object** anchor_slot,
|
| }
|
|
|
|
|
| +bool MarkCompactCollector::IsLiveBytesUpdateRequired(HeapObject* obj) {
|
| + return Marking::IsBlack(Marking::MarkBitFrom(obj)) &&
|
| + !obj->GetHeap()->mark_compact_collector()->AreMarkbitsTainted();
|
| +}
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_MARK_COMPACT_INL_H_
|
|
|