| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 static bool IsMixinCycleFree(const Class& cls, | 106 static bool IsMixinCycleFree(const Class& cls, |
| 107 GrowableArray<intptr_t>* visited); | 107 GrowableArray<intptr_t>* visited); |
| 108 static void CheckForLegalConstClass(const Class& cls); | 108 static void CheckForLegalConstClass(const Class& cls); |
| 109 static RawClass* ResolveClass(const Class& cls, | 109 static RawClass* ResolveClass(const Class& cls, |
| 110 const UnresolvedClass& unresolved_class); | 110 const UnresolvedClass& unresolved_class); |
| 111 static void ResolveRedirectingFactoryTarget( | 111 static void ResolveRedirectingFactoryTarget( |
| 112 const Class& cls, | 112 const Class& cls, |
| 113 const Function& factory, | 113 const Function& factory, |
| 114 const GrowableObjectArray& visited_factories); | 114 const GrowableObjectArray& visited_factories); |
| 115 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); | 115 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); |
| 116 static void ApplyMixinTypedef(const Class& mixin_app_class); | 116 static void ApplyMixinAppAlias(const Class& mixin_app_class); |
| 117 static void ApplyMixinMembers(const Class& cls); | 117 static void ApplyMixinMembers(const Class& cls); |
| 118 static void CreateForwardingConstructors( | 118 static void CreateForwardingConstructors( |
| 119 const Class& mixin_app, | 119 const Class& mixin_app, |
| 120 const GrowableObjectArray& cloned_funcs); | 120 const GrowableObjectArray& cloned_funcs); |
| 121 static void CollectTypeArguments(const Class& cls, | 121 static void CollectTypeArguments(const Class& cls, |
| 122 const Type& type, | 122 const Type& type, |
| 123 const GrowableObjectArray& collected_args); | 123 const GrowableObjectArray& collected_args); |
| 124 static RawType* ResolveMixinAppType(const Class& cls, | 124 static RawType* ResolveMixinAppType(const Class& cls, |
| 125 const MixinAppType& mixin_app_type); | 125 const MixinAppType& mixin_app_type); |
| 126 static void ResolveSuperTypeAndInterfaces(const Class& cls, | 126 static void ResolveSuperTypeAndInterfaces(const Class& cls, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 157 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); | 157 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); |
| 158 | 158 |
| 159 // Verify implicit offsets recorded in the VM for direct access to fields of | 159 // Verify implicit offsets recorded in the VM for direct access to fields of |
| 160 // Dart instances (e.g: _TypedListView, _ByteDataView). | 160 // Dart instances (e.g: _TypedListView, _ByteDataView). |
| 161 static void VerifyImplicitFieldOffsets(); | 161 static void VerifyImplicitFieldOffsets(); |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 } // namespace dart | 164 } // namespace dart |
| 165 | 165 |
| 166 #endif // VM_CLASS_FINALIZER_H_ | 166 #endif // VM_CLASS_FINALIZER_H_ |
| OLD | NEW |