Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: src/heap/marking.h

Issue 2737483002: [heap] Remove Marking::BlackToWhite and Marking::GreyToWhite. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/incremental-marking.cc ('k') | test/unittests/heap/marking-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/marking.h
diff --git a/src/heap/marking.h b/src/heap/marking.h
index 69c103f618a3734bb368e14c961c79e0605216b4..b8396b7f0b243f9036956761446571a2166dd727 100644
--- a/src/heap/marking.h
+++ b/src/heap/marking.h
@@ -303,17 +303,6 @@ class Marking : public AllStatic {
markbit.Next().Clear();
}
- INLINE(static void BlackToWhite(MarkBit markbit)) {
- DCHECK(IsBlack(markbit));
- markbit.Clear();
- markbit.Next().Clear();
- }
-
- INLINE(static void GreyToWhite(MarkBit markbit)) {
- DCHECK(IsGrey(markbit));
- markbit.Clear();
- }
-
INLINE(static void BlackToGrey(MarkBit markbit)) {
DCHECK(IsBlack(markbit));
markbit.Next().Clear();
« no previous file with comments | « src/heap/incremental-marking.cc ('k') | test/unittests/heap/marking-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698