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

Unified Diff: src/objects-inl.h

Issue 2077353004: [heap] Filter out stale left-trimmed handles for scavenges (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Revert "[heap] Filter out stale left-trimmed handles" Created 4 years, 6 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') | test/mjsunit/regress/regress-620553.js » ('j') | 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 b30e9626c5e79a52e59c0a2484071b805284de2c..fa85c7c38d8817818c056d16905030f47b7c7db8 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -1275,7 +1275,8 @@ Map* MapWord::ToMap() {
return reinterpret_cast<Map*>(value_);
}
-bool MapWord::IsForwardingAddress() const {
+
+bool MapWord::IsForwardingAddress() {
return HAS_SMI_TAG(reinterpret_cast<Object*>(value_));
}
« no previous file with comments | « src/objects.h ('k') | test/mjsunit/regress/regress-620553.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698