| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 static bool IsMixinCycleFree(const Class& cls, | 118 static bool IsMixinCycleFree(const Class& cls, |
| 119 GrowableArray<intptr_t>* visited); | 119 GrowableArray<intptr_t>* visited); |
| 120 static void CheckForLegalConstClass(const Class& cls); | 120 static void CheckForLegalConstClass(const Class& cls); |
| 121 static RawClass* ResolveClass(const Class& cls, | 121 static RawClass* ResolveClass(const Class& cls, |
| 122 const UnresolvedClass& unresolved_class); | 122 const UnresolvedClass& unresolved_class); |
| 123 static void ResolveRedirectingFactoryTarget( | 123 static void ResolveRedirectingFactoryTarget( |
| 124 const Class& cls, | 124 const Class& cls, |
| 125 const Function& factory, | 125 const Function& factory, |
| 126 const GrowableObjectArray& visited_factories); | 126 const GrowableObjectArray& visited_factories); |
| 127 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); | 127 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); |
| 128 static void ApplyMixinAppAlias(const Class& mixin_app_class); | 128 static void ApplyMixinAppAlias(const Class& mixin_app_class, |
| 129 bool has_uninstantiated_bounds); |
| 129 static void ApplyMixinMembers(const Class& cls); | 130 static void ApplyMixinMembers(const Class& cls); |
| 130 static void CreateForwardingConstructors( | 131 static void CreateForwardingConstructors( |
| 131 const Class& mixin_app, | 132 const Class& mixin_app, |
| 132 const GrowableObjectArray& cloned_funcs); | 133 const GrowableObjectArray& cloned_funcs); |
| 133 static void CollectTypeArguments(const Class& cls, | 134 static void CollectTypeArguments(const Class& cls, |
| 134 const Type& type, | 135 const Type& type, |
| 135 const GrowableObjectArray& collected_args); | 136 const GrowableObjectArray& collected_args); |
| 136 static RawType* ResolveMixinAppType(const Class& cls, | 137 static RawType* ResolveMixinAppType(const Class& cls, |
| 137 const MixinAppType& mixin_app_type); | 138 const MixinAppType& mixin_app_type); |
| 138 static void ResolveSuperTypeAndInterfaces(const Class& cls, | 139 static void ResolveSuperTypeAndInterfaces(const Class& cls, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 168 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); | 169 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); |
| 169 | 170 |
| 170 // Verify implicit offsets recorded in the VM for direct access to fields of | 171 // Verify implicit offsets recorded in the VM for direct access to fields of |
| 171 // Dart instances (e.g: _TypedListView, _ByteDataView). | 172 // Dart instances (e.g: _TypedListView, _ByteDataView). |
| 172 static void VerifyImplicitFieldOffsets(); | 173 static void VerifyImplicitFieldOffsets(); |
| 173 }; | 174 }; |
| 174 | 175 |
| 175 } // namespace dart | 176 } // namespace dart |
| 176 | 177 |
| 177 #endif // VM_CLASS_FINALIZER_H_ | 178 #endif // VM_CLASS_FINALIZER_H_ |
| OLD | NEW |