| 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 return ClassIdTag::decode(tags); | 434 return ClassIdTag::decode(tags); |
| 435 } | 435 } |
| 436 | 436 |
| 437 friend class Api; | 437 friend class Api; |
| 438 friend class Array; | 438 friend class Array; |
| 439 friend class FreeListElement; | 439 friend class FreeListElement; |
| 440 friend class GCMarker; | 440 friend class GCMarker; |
| 441 friend class ExternalTypedData; | 441 friend class ExternalTypedData; |
| 442 friend class Heap; | 442 friend class Heap; |
| 443 friend class HeapProfiler; | 443 friend class HeapProfiler; |
| 444 friend class HeapClassStatsVisitor; |
| 444 friend class HeapProfilerRootVisitor; | 445 friend class HeapProfilerRootVisitor; |
| 445 friend class MarkingVisitor; | 446 friend class MarkingVisitor; |
| 446 friend class Object; | 447 friend class Object; |
| 447 friend class ObjectHistogram; | 448 friend class ObjectHistogram; |
| 448 friend class RawExternalTypedData; | 449 friend class RawExternalTypedData; |
| 449 friend class RawInstructions; | 450 friend class RawInstructions; |
| 450 friend class RawInstance; | 451 friend class RawInstance; |
| 451 friend class RawTypedData; | 452 friend class RawTypedData; |
| 452 friend class Scavenger; | 453 friend class Scavenger; |
| 453 friend class SnapshotReader; | 454 friend class SnapshotReader; |
| (...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1713 // Make sure this is updated when new TypedData types are added. | 1714 // Make sure this is updated when new TypedData types are added. |
| 1714 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 12); | 1715 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 12); |
| 1715 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 13); | 1716 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 13); |
| 1716 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 12); | 1717 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 12); |
| 1717 return (kNullCid - kTypedDataInt8ArrayCid); | 1718 return (kNullCid - kTypedDataInt8ArrayCid); |
| 1718 } | 1719 } |
| 1719 | 1720 |
| 1720 } // namespace dart | 1721 } // namespace dart |
| 1721 | 1722 |
| 1722 #endif // VM_RAW_OBJECT_H_ | 1723 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |