| 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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 friend class Mint; | 574 friend class Mint; |
| 575 friend class Object; | 575 friend class Object; |
| 576 friend class OneByteString; // StoreSmi | 576 friend class OneByteString; // StoreSmi |
| 577 friend class RawExternalTypedData; | 577 friend class RawExternalTypedData; |
| 578 friend class RawInstructions; | 578 friend class RawInstructions; |
| 579 friend class RawInstance; | 579 friend class RawInstance; |
| 580 friend class RawTypedData; | 580 friend class RawTypedData; |
| 581 friend class Scavenger; | 581 friend class Scavenger; |
| 582 friend class ScavengerVisitor; | 582 friend class ScavengerVisitor; |
| 583 friend class SizeExcludingClassVisitor; // GetClassId | 583 friend class SizeExcludingClassVisitor; // GetClassId |
| 584 friend class RetainingPathVisitor; // GetClassId |
| 584 friend class SnapshotReader; | 585 friend class SnapshotReader; |
| 585 friend class SnapshotWriter; | 586 friend class SnapshotWriter; |
| 586 friend class String; | 587 friend class String; |
| 587 friend class TypedData; | 588 friend class TypedData; |
| 588 friend class TypedDataView; | 589 friend class TypedDataView; |
| 589 friend class WeakProperty; // StorePointer | 590 friend class WeakProperty; // StorePointer |
| 590 friend class Instance; // StorePointer | 591 friend class Instance; // StorePointer |
| 591 | 592 |
| 592 DISALLOW_ALLOCATION(); | 593 DISALLOW_ALLOCATION(); |
| 593 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject); | 594 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject); |
| (...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2188 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2189 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
| 2189 kTypedDataInt8ArrayViewCid + 15); | 2190 kTypedDataInt8ArrayViewCid + 15); |
| 2190 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2191 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
| 2191 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2192 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
| 2192 return (kNullCid - kTypedDataInt8ArrayCid); | 2193 return (kNullCid - kTypedDataInt8ArrayCid); |
| 2193 } | 2194 } |
| 2194 | 2195 |
| 2195 } // namespace dart | 2196 } // namespace dart |
| 2196 | 2197 |
| 2197 #endif // VM_RAW_OBJECT_H_ | 2198 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |