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

Unified Diff: src/heap/mark-compact.h

Issue 2735713002: [heap] Remove ObjectMarking::ClearMarkBit. (Closed)
Patch Set: merge 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 | « no previous file | src/heap/spaces.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index 1439118719634c2a96c7a6b4eaa0c67c3804b8cc..254748174fdfd3f1c1210b9bd8345f1b01c3c71a 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -73,11 +73,6 @@ class ObjectMarking : public AllStatic {
}
template <MarkingMode mode = MarkingMode::FULL>
- V8_INLINE static void ClearMarkBit(HeapObject* obj) {
- Marking::MarkWhite(MarkBitFrom<mode>(obj));
- }
-
- template <MarkingMode mode = MarkingMode::FULL>
V8_INLINE static void BlackToGrey(HeapObject* obj) {
DCHECK(IsBlack<mode>(obj));
MarkBit markbit = MarkBitFrom<mode>(obj);
« no previous file with comments | « no previous file | src/heap/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698