| 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_OBJECT_H_ | 5 #ifndef VM_OBJECT_H_ |
| 6 #define VM_OBJECT_H_ | 6 #define VM_OBJECT_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 #include "platform/utils.h" | 10 #include "platform/utils.h" |
| (...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1096 class ClassFinalizedBits : public BitField<RawClass::ClassFinalizedState, | 1096 class ClassFinalizedBits : public BitField<RawClass::ClassFinalizedState, |
| 1097 kClassFinalizedBits, kClassFinalizedSize> {}; // NOLINT | 1097 kClassFinalizedBits, kClassFinalizedSize> {}; // NOLINT |
| 1098 class AbstractBit : public BitField<bool, kAbstractBit, 1> {}; | 1098 class AbstractBit : public BitField<bool, kAbstractBit, 1> {}; |
| 1099 class PatchBit : public BitField<bool, kPatchBit, 1> {}; | 1099 class PatchBit : public BitField<bool, kPatchBit, 1> {}; |
| 1100 class SynthesizedClassBit : public BitField<bool, kSynthesizedClassBit, 1> {}; | 1100 class SynthesizedClassBit : public BitField<bool, kSynthesizedClassBit, 1> {}; |
| 1101 class MarkedForParsingBit : public BitField<bool, kMarkedForParsingBit, 1> {}; | 1101 class MarkedForParsingBit : public BitField<bool, kMarkedForParsingBit, 1> {}; |
| 1102 class MixinAppAliasBit : public BitField<bool, kMixinAppAliasBit, 1> {}; | 1102 class MixinAppAliasBit : public BitField<bool, kMixinAppAliasBit, 1> {}; |
| 1103 class MixinTypeAppliedBit : public BitField<bool, kMixinTypeAppliedBit, 1> {}; | 1103 class MixinTypeAppliedBit : public BitField<bool, kMixinTypeAppliedBit, 1> {}; |
| 1104 | 1104 |
| 1105 void set_name(const String& value) const; | 1105 void set_name(const String& value) const; |
| 1106 void set_user_name(const String& value) const; |
| 1107 RawString* GenerateUserVisibleName() const; |
| 1106 void set_signature_function(const Function& value) const; | 1108 void set_signature_function(const Function& value) const; |
| 1107 void set_signature_type(const AbstractType& value) const; | 1109 void set_signature_type(const AbstractType& value) const; |
| 1108 void set_state_bits(intptr_t bits) const; | 1110 void set_state_bits(intptr_t bits) const; |
| 1109 | 1111 |
| 1110 void set_constants(const Array& value) const; | 1112 void set_constants(const Array& value) const; |
| 1111 | 1113 |
| 1112 void set_canonical_types(const Object& value) const; | 1114 void set_canonical_types(const Object& value) const; |
| 1113 RawObject* canonical_types() const; | 1115 RawObject* canonical_types() const; |
| 1114 | 1116 |
| 1115 RawArray* invocation_dispatcher_cache() const; | 1117 RawArray* invocation_dispatcher_cache() const; |
| (...skipping 5514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6630 | 6632 |
| 6631 | 6633 |
| 6632 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 6634 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 6633 intptr_t index) { | 6635 intptr_t index) { |
| 6634 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 6636 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 6635 } | 6637 } |
| 6636 | 6638 |
| 6637 } // namespace dart | 6639 } // namespace dart |
| 6638 | 6640 |
| 6639 #endif // VM_OBJECT_H_ | 6641 #endif // VM_OBJECT_H_ |
| OLD | NEW |