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

Unified Diff: src/objects-inl.h

Issue 2866473003: [heap] Reland "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 a3f87c4b24eb773fef3367ca5ec86c94353edb3f..9e91da2cdc41a5a4a9c9019fc0c947e5db64347b 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