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

Unified Diff: runtime/vm/pages.h

Issue 13927008: Align start of the page's object area to match OS::kMaxPreferredCodeAlignment. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.h
diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h
index f3e67a36dfb2df95b38dfd3bfa1a46b297b65ac3..0d4bb02ed29facf87895e4b8e2dff57ea1ed47f8 100644
--- a/runtime/vm/pages.h
+++ b/runtime/vm/pages.h
@@ -36,7 +36,7 @@ class HeapPage {
uword object_start() const {
return (reinterpret_cast<uword>(this) +
- Utils::RoundUp(sizeof(HeapPage), kObjectAlignment));
+ Utils::RoundUp(sizeof(HeapPage), OS::kMaxPreferredCodeAlignment));
}
uword object_end() const {
return object_end_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698