Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 7b239aa56a8522e838b8a3d44a3b20b618f3b5d2..05cebe1dfcbd42d9d636a37a87426121326d695e 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -81,6 +81,12 @@ |
INLINE(static void BlackToWhite(MarkBit markbit)) { |
DCHECK(IsBlack(markbit)); |
markbit.Clear(); |
+ } |
+ |
+ INLINE(static void GreyToWhite(MarkBit markbit)) { |
+ DCHECK(IsGrey(markbit)); |
+ markbit.Clear(); |
+ markbit.Next().Clear(); |
} |
INLINE(static void BlackToGrey(MarkBit markbit)) { |