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

Unified Diff: src/objects-inl.h

Issue 2719013002: [heap] Remove remaining parts of PathTracer. (Closed)
Patch Set: 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/heap.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 3aa26c5601690e1ae5e5270cd1e268abb0cdc1ec..8db7434eee532591a53880b699079075f496f767 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -1457,14 +1457,7 @@ Isolate* HeapObject::GetIsolate() const {
Map* HeapObject::map() const {
-#ifdef DEBUG
- // Clear mark potentially added by PathTracer.
- uintptr_t raw_value =
- map_word().ToRawValue() & ~static_cast<uintptr_t>(PathTracer::kMarkTag);
- return MapWord::FromRawValue(raw_value).ToMap();
-#else
return map_word().ToMap();
-#endif
}
« no previous file with comments | « src/heap/heap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698