| 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 return ClassIdTag::decode(tags); | 437 return ClassIdTag::decode(tags); |
| 438 } | 438 } |
| 439 | 439 |
| 440 friend class Api; | 440 friend class Api; |
| 441 friend class Array; | 441 friend class Array; |
| 442 friend class Code; | 442 friend class Code; |
| 443 friend class FreeListElement; | 443 friend class FreeListElement; |
| 444 friend class GCMarker; | 444 friend class GCMarker; |
| 445 friend class ExternalTypedData; | 445 friend class ExternalTypedData; |
| 446 friend class Heap; | 446 friend class Heap; |
| 447 friend class HeapMapAsJSONVisitor; |
| 447 friend class ClassStatsVisitor; | 448 friend class ClassStatsVisitor; |
| 448 friend class MarkingVisitor; | 449 friend class MarkingVisitor; |
| 449 friend class Object; | 450 friend class Object; |
| 450 friend class RawExternalTypedData; | 451 friend class RawExternalTypedData; |
| 451 friend class RawInstructions; | 452 friend class RawInstructions; |
| 452 friend class RawInstance; | 453 friend class RawInstance; |
| 453 friend class RawTypedData; | 454 friend class RawTypedData; |
| 454 friend class Scavenger; | 455 friend class Scavenger; |
| 455 friend class ScavengerVisitor; | 456 friend class ScavengerVisitor; |
| 456 friend class SnapshotReader; | 457 friend class SnapshotReader; |
| (...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1778 // Make sure this is updated when new TypedData types are added. | 1779 // Make sure this is updated when new TypedData types are added. |
| 1779 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); | 1780 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); |
| 1780 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15); | 1781 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15); |
| 1781 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); | 1782 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); |
| 1782 return (kNullCid - kTypedDataInt8ArrayCid); | 1783 return (kNullCid - kTypedDataInt8ArrayCid); |
| 1783 } | 1784 } |
| 1784 | 1785 |
| 1785 } // namespace dart | 1786 } // namespace dart |
| 1786 | 1787 |
| 1787 #endif // VM_RAW_OBJECT_H_ | 1788 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |