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/atomic.h" | 9 #include "vm/atomic.h" |
10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 friend class RawInstructions; | 649 friend class RawInstructions; |
650 friend class RawInstance; | 650 friend class RawInstance; |
651 friend class RawTypedData; | 651 friend class RawTypedData; |
652 friend class Scavenger; | 652 friend class Scavenger; |
653 friend class ScavengerVisitor; | 653 friend class ScavengerVisitor; |
654 friend class SizeExcludingClassVisitor; // GetClassId | 654 friend class SizeExcludingClassVisitor; // GetClassId |
655 friend class InstanceAccumulator; // GetClassId | 655 friend class InstanceAccumulator; // GetClassId |
656 friend class RetainingPathVisitor; // GetClassId | 656 friend class RetainingPathVisitor; // GetClassId |
657 friend class SkippedCodeFunctions; // StorePointer | 657 friend class SkippedCodeFunctions; // StorePointer |
658 friend class InstructionsReader; // tags_ check | 658 friend class InstructionsReader; // tags_ check |
659 friend class InstructionsWriter; | 659 friend class AssemblyInstructionsWriter; |
| 660 friend class BlobInstructionsWriter; |
660 friend class SnapshotReader; | 661 friend class SnapshotReader; |
661 friend class SnapshotWriter; | 662 friend class SnapshotWriter; |
662 friend class String; | 663 friend class String; |
663 friend class TypedData; | 664 friend class TypedData; |
664 friend class TypedDataView; | 665 friend class TypedDataView; |
665 friend class WeakProperty; // StorePointer | 666 friend class WeakProperty; // StorePointer |
666 friend class Instance; // StorePointer | 667 friend class Instance; // StorePointer |
667 friend class StackFrame; // GetCodeObject assertion. | 668 friend class StackFrame; // GetCodeObject assertion. |
668 friend class CodeLookupTableBuilder; // profiler | 669 friend class CodeLookupTableBuilder; // profiler |
669 friend class NativeEntry; // GetClassId | 670 friend class NativeEntry; // GetClassId |
(...skipping 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2373 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2374 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
2374 kTypedDataInt8ArrayViewCid + 15); | 2375 kTypedDataInt8ArrayViewCid + 15); |
2375 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2376 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
2376 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2377 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
2377 return (kNullCid - kTypedDataInt8ArrayCid); | 2378 return (kNullCid - kTypedDataInt8ArrayCid); |
2378 } | 2379 } |
2379 | 2380 |
2380 } // namespace dart | 2381 } // namespace dart |
2381 | 2382 |
2382 #endif // VM_RAW_OBJECT_H_ | 2383 #endif // VM_RAW_OBJECT_H_ |
OLD | NEW |