OLD | NEW |
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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 uword tags = ptr()->tags_; | 448 uword tags = ptr()->tags_; |
449 return ClassIdTag::decode(tags); | 449 return ClassIdTag::decode(tags); |
450 } | 450 } |
451 | 451 |
452 friend class Api; | 452 friend class Api; |
453 friend class Array; | 453 friend class Array; |
454 friend class Code; | 454 friend class Code; |
455 friend class FreeListElement; | 455 friend class FreeListElement; |
456 friend class GCMarker; | 456 friend class GCMarker; |
457 friend class ExternalTypedData; | 457 friend class ExternalTypedData; |
| 458 friend class ForwardList; |
458 friend class Heap; | 459 friend class Heap; |
459 friend class HeapMapAsJSONVisitor; | 460 friend class HeapMapAsJSONVisitor; |
460 friend class ClassStatsVisitor; | 461 friend class ClassStatsVisitor; |
461 friend class MarkingVisitor; | 462 friend class MarkingVisitor; |
462 friend class Object; | 463 friend class Object; |
463 friend class RawExternalTypedData; | 464 friend class RawExternalTypedData; |
464 friend class RawInstructions; | 465 friend class RawInstructions; |
465 friend class RawInstance; | 466 friend class RawInstance; |
466 friend class RawTypedData; | 467 friend class RawTypedData; |
467 friend class Scavenger; | 468 friend class Scavenger; |
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1897 COMPILE_ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); | 1898 COMPILE_ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); |
1898 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 1899 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
1899 kTypedDataInt8ArrayViewCid + 15); | 1900 kTypedDataInt8ArrayViewCid + 15); |
1900 COMPILE_ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); | 1901 COMPILE_ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); |
1901 return (kNullCid - kTypedDataInt8ArrayCid); | 1902 return (kNullCid - kTypedDataInt8ArrayCid); |
1902 } | 1903 } |
1903 | 1904 |
1904 } // namespace dart | 1905 } // namespace dart |
1905 | 1906 |
1906 #endif // VM_RAW_OBJECT_H_ | 1907 #endif // VM_RAW_OBJECT_H_ |
OLD | NEW |