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_CLASS_FINALIZER_H_ | 5 #ifndef VM_CLASS_FINALIZER_H_ |
6 #define VM_CLASS_FINALIZER_H_ | 6 #define VM_CLASS_FINALIZER_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/growable_array.h" | 9 #include "vm/growable_array.h" |
10 #include "vm/object.h" | 10 #include "vm/object.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 static void ResolveRedirectingFactoryTarget( | 116 static void ResolveRedirectingFactoryTarget( |
117 const Class& cls, | 117 const Class& cls, |
118 const Function& factory, | 118 const Function& factory, |
119 const GrowableObjectArray& visited_factories); | 119 const GrowableObjectArray& visited_factories); |
120 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); | 120 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); |
121 static void ApplyMixinAppAlias(const Class& mixin_app_class, | 121 static void ApplyMixinAppAlias(const Class& mixin_app_class, |
122 const TypeArguments& instantiator); | 122 const TypeArguments& instantiator); |
123 static void ApplyMixinMembers(const Class& cls); | 123 static void ApplyMixinMembers(const Class& cls); |
124 static void CreateForwardingConstructors( | 124 static void CreateForwardingConstructors( |
125 const Class& mixin_app, | 125 const Class& mixin_app, |
| 126 const Class& mixin_cls, |
126 const GrowableObjectArray& cloned_funcs); | 127 const GrowableObjectArray& cloned_funcs); |
127 static void CollectTypeArguments(const Class& cls, | 128 static void CollectTypeArguments(const Class& cls, |
128 const Type& type, | 129 const Type& type, |
129 const GrowableObjectArray& collected_args); | 130 const GrowableObjectArray& collected_args); |
130 static RawType* ResolveMixinAppType(const Class& cls, | 131 static RawType* ResolveMixinAppType(const Class& cls, |
131 const MixinAppType& mixin_app_type); | 132 const MixinAppType& mixin_app_type); |
132 static void ResolveSuperTypeAndInterfaces(const Class& cls, | 133 static void ResolveSuperTypeAndInterfaces(const Class& cls, |
133 GrowableArray<intptr_t>* visited); | 134 GrowableArray<intptr_t>* visited); |
134 static void FinalizeTypeParameters(const Class& cls, | 135 static void FinalizeTypeParameters(const Class& cls, |
135 PendingTypes* pending_types = NULL); | 136 PendingTypes* pending_types = NULL); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); | 171 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); |
171 | 172 |
172 // Verify implicit offsets recorded in the VM for direct access to fields of | 173 // Verify implicit offsets recorded in the VM for direct access to fields of |
173 // Dart instances (e.g: _TypedListView, _ByteDataView). | 174 // Dart instances (e.g: _TypedListView, _ByteDataView). |
174 static void VerifyImplicitFieldOffsets(); | 175 static void VerifyImplicitFieldOffsets(); |
175 }; | 176 }; |
176 | 177 |
177 } // namespace dart | 178 } // namespace dart |
178 | 179 |
179 #endif // VM_CLASS_FINALIZER_H_ | 180 #endif // VM_CLASS_FINALIZER_H_ |
OLD | NEW |