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

Side by Side Diff: runtime/vm/raw_object.h

Issue 11362214: - Fix x64 build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/token.h" 10 #include "vm/token.h"
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 // Variable length data follows here. 1308 // Variable length data follows here.
1309 uint32_t data_[0]; 1309 uint32_t data_[0];
1310 }; 1310 };
1311 1311
1312 1312
1313 class RawInt64Array : public RawByteArray { 1313 class RawInt64Array : public RawByteArray {
1314 RAW_HEAP_OBJECT_IMPLEMENTATION(Int64Array); 1314 RAW_HEAP_OBJECT_IMPLEMENTATION(Int64Array);
1315 1315
1316 // Variable length data follows here. 1316 // Variable length data follows here.
1317 int64_t data_[0]; 1317 int64_t data_[0];
1318
1319 friend class Instance;
1318 }; 1320 };
1319 1321
1320 1322
1321 class RawUint64Array : public RawByteArray { 1323 class RawUint64Array : public RawByteArray {
1322 RAW_HEAP_OBJECT_IMPLEMENTATION(Uint64Array); 1324 RAW_HEAP_OBJECT_IMPLEMENTATION(Uint64Array);
1323 1325
1324 // Variable length data follows here. 1326 // Variable length data follows here.
1325 uint64_t data_[0]; 1327 uint64_t data_[0];
1326 }; 1328 };
1327 1329
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1631 kExternalUint64ArrayCid == kExternalInt8ArrayCid + 7 && 1633 kExternalUint64ArrayCid == kExternalInt8ArrayCid + 7 &&
1632 kExternalFloat32ArrayCid == kExternalInt8ArrayCid + 8 && 1634 kExternalFloat32ArrayCid == kExternalInt8ArrayCid + 8 &&
1633 kExternalFloat64ArrayCid == kExternalInt8ArrayCid + 9 && 1635 kExternalFloat64ArrayCid == kExternalInt8ArrayCid + 9 &&
1634 kStacktraceCid == kExternalInt8ArrayCid + 10); 1636 kStacktraceCid == kExternalInt8ArrayCid + 10);
1635 return (index >= kExternalInt8ArrayCid && index <= kExternalFloat64ArrayCid); 1637 return (index >= kExternalInt8ArrayCid && index <= kExternalFloat64ArrayCid);
1636 } 1638 }
1637 1639
1638 } // namespace dart 1640 } // namespace dart
1639 1641
1640 #endif // VM_RAW_OBJECT_H_ 1642 #endif // VM_RAW_OBJECT_H_
OLDNEW
« 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