| 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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 friend class Object; | 607 friend class Object; |
| 608 friend class OneByteString; // StoreSmi | 608 friend class OneByteString; // StoreSmi |
| 609 friend class RawCode; | 609 friend class RawCode; |
| 610 friend class RawExternalTypedData; | 610 friend class RawExternalTypedData; |
| 611 friend class RawInstructions; | 611 friend class RawInstructions; |
| 612 friend class RawInstance; | 612 friend class RawInstance; |
| 613 friend class RawTypedData; | 613 friend class RawTypedData; |
| 614 friend class Scavenger; | 614 friend class Scavenger; |
| 615 friend class ScavengerVisitor; | 615 friend class ScavengerVisitor; |
| 616 friend class SizeExcludingClassVisitor; // GetClassId | 616 friend class SizeExcludingClassVisitor; // GetClassId |
| 617 friend class InstanceAccumulator; // GetClassId |
| 617 friend class RetainingPathVisitor; // GetClassId | 618 friend class RetainingPathVisitor; // GetClassId |
| 618 friend class SkippedCodeFunctions; // StorePointer | 619 friend class SkippedCodeFunctions; // StorePointer |
| 619 friend class InstructionsReader; // tags_ check | 620 friend class InstructionsReader; // tags_ check |
| 620 friend class InstructionsWriter; | 621 friend class InstructionsWriter; |
| 621 friend class SnapshotReader; | 622 friend class SnapshotReader; |
| 622 friend class SnapshotWriter; | 623 friend class SnapshotWriter; |
| 623 friend class String; | 624 friend class String; |
| 624 friend class TypedData; | 625 friend class TypedData; |
| 625 friend class TypedDataView; | 626 friend class TypedDataView; |
| 626 friend class WeakProperty; // StorePointer | 627 friend class WeakProperty; // StorePointer |
| (...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2265 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2266 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
| 2266 kTypedDataInt8ArrayViewCid + 15); | 2267 kTypedDataInt8ArrayViewCid + 15); |
| 2267 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2268 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
| 2268 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2269 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
| 2269 return (kNullCid - kTypedDataInt8ArrayCid); | 2270 return (kNullCid - kTypedDataInt8ArrayCid); |
| 2270 } | 2271 } |
| 2271 | 2272 |
| 2272 } // namespace dart | 2273 } // namespace dart |
| 2273 | 2274 |
| 2274 #endif // VM_RAW_OBJECT_H_ | 2275 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |