| Index: src/mark-compact.h
|
| diff --git a/src/mark-compact.h b/src/mark-compact.h
|
| index 4efd60553f8ed147ca3e0ffa45fdc4ba8e1a368f..2ab820d3f4177cc202c269ea289d0ba0387b8cbf 100644
|
| --- a/src/mark-compact.h
|
| +++ b/src/mark-compact.h
|
| @@ -119,6 +119,12 @@ class Marking {
|
| BlackToGrey(MarkBitFrom(obj));
|
| }
|
|
|
| + static inline void AnyToGrey(MarkBit markbit) {
|
| + markbit.Set();
|
| + markbit.Next().Set();
|
| + ASSERT(IsGrey(markbit));
|
| + }
|
| +
|
| // Returns true if the the object whose mark is transferred is marked black.
|
| bool TransferMark(Address old_start, Address new_start);
|
|
|
|
|