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

Unified Diff: src/heap/marking.h

Issue 2720133005: [heap] Remove Marking::MarkBlack and some minor cleanups. (Closed)
Patch Set: fix failures Created 3 years, 10 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/mark-compact.cc ('k') | src/heap/spaces.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 1248e59fe2cc142abbce46e010348287e644b5d5..88128145e4b407ae7dfef2871a2886d1175774b4 100644
--- a/src/heap/marking.h
+++ b/src/heap/marking.h
@@ -298,14 +298,9 @@ class Marking : public AllStatic {
// objects.
INLINE(static bool IsBlackOrGrey(MarkBit mark_bit)) { return mark_bit.Get(); }
- INLINE(static void MarkBlack(MarkBit mark_bit)) {
- mark_bit.Set();
- mark_bit.Next().Set();
- }
-
- INLINE(static void MarkWhite(MarkBit mark_bit)) {
- mark_bit.Clear();
- mark_bit.Next().Clear();
+ INLINE(static void MarkWhite(MarkBit markbit)) {
+ markbit.Clear();
+ markbit.Next().Clear();
}
INLINE(static void BlackToWhite(MarkBit markbit)) {
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/heap/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698