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

Unified Diff: runtime/vm/freelist.h

Issue 2965723002: VM: Reland Inline instance object hash code into object header on 64bit. (Closed)
Patch Set: Fix snapshot incompatibility that sank Flutter Gallery Created 3 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
Index: runtime/vm/freelist.h
diff --git a/runtime/vm/freelist.h b/runtime/vm/freelist.h
index f8a8e82f66ad863facacfbaed7d53db209dd7191..cbd7656181c70357e45fb94889e1bc928d002e38 100644
--- a/runtime/vm/freelist.h
+++ b/runtime/vm/freelist.h
@@ -56,7 +56,10 @@ class FreeListElement {
private:
// This layout mirrors the layout of RawObject.
- uword tags_;
+ uint32_t tags_;
+#if defined(HASH_IN_OBJECT_HEADER)
+ uint32_t hash_;
+#endif
FreeListElement* next_;
// Returns the address of the embedded size.

Powered by Google App Engine
This is Rietveld 408576698