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

Unified Diff: src/objects.h

Issue 1150953002: Generalize HeapObject alignment requirements. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review comments. Created 5 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/heap/mark-compact.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 4b7341ece9f02d2e7f1aa0886c2a67cfc47f1f1c..4affb924575eeb3409936d5f7c577bed1e6ad48e 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1486,8 +1486,7 @@ class HeapObject: public Object {
static void VerifyHeapPointer(Object* p);
#endif
- inline bool NeedsToEnsureDoubleAlignment();
- inline bool NeedsToEnsureDoubleUnalignment();
+ inline AllocationAlignment RequiredAlignment();
// Layout description.
// First field in a heap object is map.
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698