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 RUNTIME_VM_RAW_OBJECT_H_ | 5 #ifndef RUNTIME_VM_RAW_OBJECT_H_ |
6 #define RUNTIME_VM_RAW_OBJECT_H_ | 6 #define RUNTIME_VM_RAW_OBJECT_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/atomic.h" | 9 #include "vm/atomic.h" |
10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 friend class RawInstructions; | 602 friend class RawInstructions; |
603 friend class RawInstance; | 603 friend class RawInstance; |
604 friend class RawTypedData; | 604 friend class RawTypedData; |
605 friend class Scavenger; | 605 friend class Scavenger; |
606 friend class ScavengerVisitor; | 606 friend class ScavengerVisitor; |
607 friend class SizeExcludingClassVisitor; // GetClassId | 607 friend class SizeExcludingClassVisitor; // GetClassId |
608 friend class InstanceAccumulator; // GetClassId | 608 friend class InstanceAccumulator; // GetClassId |
609 friend class RetainingPathVisitor; // GetClassId | 609 friend class RetainingPathVisitor; // GetClassId |
610 friend class SkippedCodeFunctions; // StorePointer | 610 friend class SkippedCodeFunctions; // StorePointer |
611 friend class InstructionsReader; // tags_ check | 611 friend class InstructionsReader; // tags_ check |
| 612 friend class InstructionsWriter; |
612 friend class AssemblyInstructionsWriter; | 613 friend class AssemblyInstructionsWriter; |
613 friend class BlobInstructionsWriter; | 614 friend class BlobInstructionsWriter; |
614 friend class SnapshotReader; | 615 friend class SnapshotReader; |
615 friend class Deserializer; | 616 friend class Deserializer; |
616 friend class SnapshotWriter; | 617 friend class SnapshotWriter; |
617 friend class String; | 618 friend class String; |
618 friend class Type; // GetClassId | 619 friend class Type; // GetClassId |
619 friend class TypedData; | 620 friend class TypedData; |
620 friend class TypedDataView; | 621 friend class TypedDataView; |
621 friend class WeakProperty; // StorePointer | 622 friend class WeakProperty; // StorePointer |
(...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2423 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2424 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
2424 kTypedDataInt8ArrayViewCid + 15); | 2425 kTypedDataInt8ArrayViewCid + 15); |
2425 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2426 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
2426 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2427 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
2427 return (kNullCid - kTypedDataInt8ArrayCid); | 2428 return (kNullCid - kTypedDataInt8ArrayCid); |
2428 } | 2429 } |
2429 | 2430 |
2430 } // namespace dart | 2431 } // namespace dart |
2431 | 2432 |
2432 #endif // RUNTIME_VM_RAW_OBJECT_H_ | 2433 #endif // RUNTIME_VM_RAW_OBJECT_H_ |
OLD | NEW |