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

Unified Diff: src/objects-inl.h

Issue 2855003004: [heap] Use shared markbits in the concurrent marker. (Closed)
Patch Set: rebase Created 3 years, 7 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/objects.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 6d7a5da1d31e69ce6a2e1b3a42cb7fc81c283b7d..2d6f185d71f2834d2900af1bd6c90520676e3eb5 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -1525,6 +1525,9 @@ void HeapObject::set_map_no_write_barrier(Map* value) {
set_map_word(MapWord::FromMap(value));
}
+HeapObject** HeapObject::map_slot() {
+ return reinterpret_cast<HeapObject**>(FIELD_ADDR(this, kMapOffset));
+}
MapWord HeapObject::map_word() const {
return MapWord(
« no previous file with comments | « src/objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698