Lines Matching refs:MarkBit
14 class MarkBit {
19 inline MarkBit(CellType* cell, CellType mask) : cell_(cell), mask_(mask) {} in MarkBit() function
22 bool operator==(const MarkBit& other) {
28 inline MarkBit Next() { in Next()
31 return MarkBit(cell_ + 1, 1); in Next()
33 return MarkBit(cell_, new_mask); in Next()
59 inline bool MarkBit::Set<AccessMode::NON_ATOMIC>() {
66 inline bool MarkBit::Set<AccessMode::ATOMIC>() {
71 inline bool MarkBit::Get<AccessMode::NON_ATOMIC>() {
76 inline bool MarkBit::Get<AccessMode::ATOMIC>() {
81 inline bool MarkBit::Clear<AccessMode::NON_ATOMIC>() {
88 inline bool MarkBit::Clear<AccessMode::ATOMIC>() {
129 V8_INLINE MarkBit::CellType* cells() { in cells()
130 return reinterpret_cast<MarkBit::CellType*>(this); in cells()
137 inline MarkBit MarkBitFromIndex(uint32_t index) { in MarkBitFromIndex()
138 MarkBit::CellType mask = 1u << IndexInCell(index); in MarkBitFromIndex()
139 MarkBit::CellType* cell = this->cells() + (index >> kBitsPerCellLog2); in MarkBitFromIndex()
140 return MarkBit(cell, mask); in MarkBitFromIndex()
211 V8_INLINE static bool IsImpossible(MarkBit mark_bit) { in IsImpossible()
229 V8_INLINE static bool IsBlack(MarkBit mark_bit) { in IsBlack()
236 V8_INLINE static bool IsWhite(MarkBit mark_bit) { in IsWhite()
244 V8_INLINE static bool IsGrey(MarkBit mark_bit) { in IsGrey()
251 V8_INLINE static bool IsBlackOrGrey(MarkBit mark_bit) { in IsBlackOrGrey()
256 V8_INLINE static void MarkWhite(MarkBit markbit) { in MarkWhite()
266 V8_INLINE static void MarkBlack(MarkBit markbit) { in MarkBlack()
272 V8_INLINE static bool WhiteToGrey(MarkBit markbit) { in WhiteToGrey()
277 V8_INLINE static bool WhiteToBlack(MarkBit markbit) { in WhiteToBlack()
282 V8_INLINE static bool GreyToBlack(MarkBit markbit) { in GreyToBlack()
307 static ObjectColor Color(MarkBit mark_bit) { in Color()