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

Unified Diff: runtime/vm/raw_object.h

Issue 1351403004: Resolve some disagreements between SIMARM and XARM on offsets used in compiled code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index cef2223f7a70706d4c2ee0ce8684a6ef12f7864f..cbea4f3a8d06b5cb0fcb7fc6f922c3e8136e2617 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -1606,11 +1606,12 @@ class RawSmi : public RawInteger {
class RawMint : public RawInteger {
RAW_HEAP_OBJECT_IMPLEMENTATION(Mint);
- int64_t value_;
+ ALIGN8 int64_t value_;
friend class Api;
friend class SnapshotReader;
};
+COMPILE_ASSERT(sizeof(RawMint) == 16);
class RawBigint : public RawInteger {
@@ -1627,11 +1628,12 @@ class RawBigint : public RawInteger {
class RawDouble : public RawNumber {
RAW_HEAP_OBJECT_IMPLEMENTATION(Double);
- double value_;
+ ALIGN8 double value_;
friend class Api;
friend class SnapshotReader;
};
+COMPILE_ASSERT(sizeof(RawDouble) == 16);
class RawString : public RawInstance {
« runtime/vm/isolate.h ('K') | « runtime/vm/isolate.cc ('k') | runtime/vm/scavenger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698