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 | 10 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 static void CheckForLegalConstClass(const Class& cls); | 123 static void CheckForLegalConstClass(const Class& cls); |
124 static RawClass* ResolveClass(const Class& cls, | 124 static RawClass* ResolveClass(const Class& cls, |
125 const UnresolvedClass& unresolved_class); | 125 const UnresolvedClass& unresolved_class); |
126 static void ResolveType(const Class& cls, const AbstractType& type); | 126 static void ResolveType(const Class& cls, const AbstractType& type); |
127 static void ResolveRedirectingFactoryTarget( | 127 static void ResolveRedirectingFactoryTarget( |
128 const Class& cls, | 128 const Class& cls, |
129 const Function& factory, | 129 const Function& factory, |
130 const GrowableObjectArray& visited_factories); | 130 const GrowableObjectArray& visited_factories); |
131 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); | 131 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); |
132 static void ApplyMixinAppAlias(const Class& mixin_app_class, | 132 static void ApplyMixinAppAlias(const Class& mixin_app_class, |
133 bool has_uninstantiated_bounds); | 133 const TypeArguments& instantiator); |
134 static void ApplyMixinMembers(const Class& cls); | 134 static void ApplyMixinMembers(const Class& cls); |
135 static void CreateForwardingConstructors( | 135 static void CreateForwardingConstructors( |
136 const Class& mixin_app, | 136 const Class& mixin_app, |
137 const GrowableObjectArray& cloned_funcs); | 137 const GrowableObjectArray& cloned_funcs); |
138 static void CollectTypeArguments(const Class& cls, | 138 static void CollectTypeArguments(const Class& cls, |
139 const Type& type, | 139 const Type& type, |
140 const GrowableObjectArray& collected_args); | 140 const GrowableObjectArray& collected_args); |
141 static RawType* ResolveMixinAppType(const Class& cls, | 141 static RawType* ResolveMixinAppType(const Class& cls, |
142 const MixinAppType& mixin_app_type); | 142 const MixinAppType& mixin_app_type); |
143 static void ResolveSuperTypeAndInterfaces(const Class& cls, | 143 static void ResolveSuperTypeAndInterfaces(const Class& cls, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); | 180 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); |
181 | 181 |
182 // Verify implicit offsets recorded in the VM for direct access to fields of | 182 // Verify implicit offsets recorded in the VM for direct access to fields of |
183 // Dart instances (e.g: _TypedListView, _ByteDataView). | 183 // Dart instances (e.g: _TypedListView, _ByteDataView). |
184 static void VerifyImplicitFieldOffsets(); | 184 static void VerifyImplicitFieldOffsets(); |
185 }; | 185 }; |
186 | 186 |
187 } // namespace dart | 187 } // namespace dart |
188 | 188 |
189 #endif // VM_CLASS_FINALIZER_H_ | 189 #endif // VM_CLASS_FINALIZER_H_ |
OLD | NEW |