| 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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 AssemblyInstructionsWriter; | 659 friend class AssemblyInstructionsWriter; |
| 660 friend class BlobInstructionsWriter; | 660 friend class BlobInstructionsWriter; |
| 661 friend class SnapshotReader; | 661 friend class SnapshotReader; |
| 662 friend class SnapshotWriter; | 662 friend class SnapshotWriter; |
| 663 friend class String; | 663 friend class String; |
| 664 friend class Type; // GetClassId |
| 664 friend class TypedData; | 665 friend class TypedData; |
| 665 friend class TypedDataView; | 666 friend class TypedDataView; |
| 666 friend class WeakProperty; // StorePointer | 667 friend class WeakProperty; // StorePointer |
| 667 friend class Instance; // StorePointer | 668 friend class Instance; // StorePointer |
| 668 friend class StackFrame; // GetCodeObject assertion. | 669 friend class StackFrame; // GetCodeObject assertion. |
| 669 friend class CodeLookupTableBuilder; // profiler | 670 friend class CodeLookupTableBuilder; // profiler |
| 670 friend class NativeEntry; // GetClassId | 671 friend class NativeEntry; // GetClassId |
| 671 friend class Simulator; | 672 friend class Simulator; |
| 672 friend class SimulatorHelpers; | 673 friend class SimulatorHelpers; |
| 673 | 674 |
| (...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2374 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2375 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
| 2375 kTypedDataInt8ArrayViewCid + 15); | 2376 kTypedDataInt8ArrayViewCid + 15); |
| 2376 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2377 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
| 2377 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2378 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
| 2378 return (kNullCid - kTypedDataInt8ArrayCid); | 2379 return (kNullCid - kTypedDataInt8ArrayCid); |
| 2379 } | 2380 } |
| 2380 | 2381 |
| 2381 } // namespace dart | 2382 } // namespace dart |
| 2382 | 2383 |
| 2383 #endif // VM_RAW_OBJECT_H_ | 2384 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |