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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 friend class Type; // GetClassId | 633 friend class Type; // GetClassId |
634 friend class TypedData; | 634 friend class TypedData; |
635 friend class TypedDataView; | 635 friend class TypedDataView; |
636 friend class WeakProperty; // StorePointer | 636 friend class WeakProperty; // StorePointer |
637 friend class Instance; // StorePointer | 637 friend class Instance; // StorePointer |
638 friend class StackFrame; // GetCodeObject assertion. | 638 friend class StackFrame; // GetCodeObject assertion. |
639 friend class CodeLookupTableBuilder; // profiler | 639 friend class CodeLookupTableBuilder; // profiler |
640 friend class NativeEntry; // GetClassId | 640 friend class NativeEntry; // GetClassId |
641 friend class Simulator; | 641 friend class Simulator; |
642 friend class SimulatorHelpers; | 642 friend class SimulatorHelpers; |
| 643 friend class ObjectLocator; |
| 644 friend class InstanceMorpher; // GetClassId |
643 friend class VerifyCanonicalVisitor; | 645 friend class VerifyCanonicalVisitor; |
644 | 646 |
645 DISALLOW_ALLOCATION(); | 647 DISALLOW_ALLOCATION(); |
646 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject); | 648 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject); |
647 }; | 649 }; |
648 | 650 |
649 | 651 |
650 class RawClass : public RawObject { | 652 class RawClass : public RawObject { |
651 public: | 653 public: |
652 enum ClassFinalizedState { | 654 enum ClassFinalizedState { |
(...skipping 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2420 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2422 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
2421 kTypedDataInt8ArrayViewCid + 15); | 2423 kTypedDataInt8ArrayViewCid + 15); |
2422 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2424 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
2423 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2425 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
2424 return (kNullCid - kTypedDataInt8ArrayCid); | 2426 return (kNullCid - kTypedDataInt8ArrayCid); |
2425 } | 2427 } |
2426 | 2428 |
2427 } // namespace dart | 2429 } // namespace dart |
2428 | 2430 |
2429 #endif // VM_RAW_OBJECT_H_ | 2431 #endif // VM_RAW_OBJECT_H_ |
OLD | NEW |