| 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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ClassStatsVisitor; | 447 friend class ClassStatsVisitor; |
| 448 friend class MarkingVisitor; | 448 friend class MarkingVisitor; |
| 449 friend class Object; | 449 friend class Object; |
| 450 friend class ObjectHistogram; | |
| 451 friend class RawExternalTypedData; | 450 friend class RawExternalTypedData; |
| 452 friend class RawInstructions; | 451 friend class RawInstructions; |
| 453 friend class RawInstance; | 452 friend class RawInstance; |
| 454 friend class RawTypedData; | 453 friend class RawTypedData; |
| 455 friend class Scavenger; | 454 friend class Scavenger; |
| 456 friend class ScavengerVisitor; | 455 friend class ScavengerVisitor; |
| 457 friend class SnapshotReader; | 456 friend class SnapshotReader; |
| 458 friend class SnapshotWriter; | 457 friend class SnapshotWriter; |
| 459 friend class String; | 458 friend class String; |
| 460 friend class TypedData; | 459 friend class TypedData; |
| (...skipping 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1772 // Make sure this is updated when new TypedData types are added. | 1771 // Make sure this is updated when new TypedData types are added. |
| 1773 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); | 1772 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); |
| 1774 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15); | 1773 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15); |
| 1775 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); | 1774 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); |
| 1776 return (kNullCid - kTypedDataInt8ArrayCid); | 1775 return (kNullCid - kTypedDataInt8ArrayCid); |
| 1777 } | 1776 } |
| 1778 | 1777 |
| 1779 } // namespace dart | 1778 } // namespace dart |
| 1780 | 1779 |
| 1781 #endif // VM_RAW_OBJECT_H_ | 1780 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |