Lines Matching refs:mark_bit
38 INLINE(static bool IsImpossible(MarkBit mark_bit)) {
39 return !mark_bit.Get() && mark_bit.Next().Get();
44 INLINE(static bool IsBlack(MarkBit mark_bit)) {
45 return mark_bit.Get() && !mark_bit.Next().Get();
50 INLINE(static bool IsWhite(MarkBit mark_bit)) { return !mark_bit.Get(); }
54 INLINE(static bool IsGrey(MarkBit mark_bit)) {
55 return mark_bit.Get() && mark_bit.Next().Get();
58 INLINE(static void MarkBlack(MarkBit mark_bit)) {
59 mark_bit.Set();
60 mark_bit.Next().Clear();
109 static ObjectColor Color(MarkBit mark_bit) {
110 if (IsBlack(mark_bit)) return BLACK_OBJECT;
111 if (IsWhite(mark_bit)) return WHITE_OBJECT;
112 if (IsGrey(mark_bit)) return GREY_OBJECT;
745 INLINE(void MarkObject(HeapObject* obj, MarkBit mark_bit));
749 INLINE(void SetMark(HeapObject* obj, MarkBit mark_bit));