| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 private: | 99 private: |
| 100 static bool IsSuperCycleFree(const Class& cls); | 100 static bool IsSuperCycleFree(const Class& cls); |
| 101 static bool IsParameterTypeCycleFree(const Class& cls, | 101 static bool IsParameterTypeCycleFree(const Class& cls, |
| 102 const AbstractType& type, | 102 const AbstractType& type, |
| 103 GrowableArray<intptr_t>* visited); | 103 GrowableArray<intptr_t>* visited); |
| 104 static bool IsAliasCycleFree(const Class& cls, | 104 static bool IsAliasCycleFree(const Class& cls, |
| 105 GrowableArray<intptr_t>* visited); | 105 GrowableArray<intptr_t>* visited); |
| 106 static void CheckForLegalConstClass(const Class& cls); | 106 static void CheckForLegalConstClass(const Class& cls); |
| 107 static RawClass* ResolveClass(const Class& cls, | 107 static RawClass* ResolveClass(const Class& cls, |
| 108 const UnresolvedClass& unresolved_class, | 108 const UnresolvedClass& unresolved_class); |
| 109 Error* ambiguity_error); | |
| 110 static void ResolveRedirectingFactoryTarget( | 109 static void ResolveRedirectingFactoryTarget( |
| 111 const Class& cls, | 110 const Class& cls, |
| 112 const Function& factory, | 111 const Function& factory, |
| 113 const GrowableObjectArray& visited_factories); | 112 const GrowableObjectArray& visited_factories); |
| 114 static void CloneTypeParameters(const Class& mixin_app_class); | 113 static void CloneTypeParameters(const Class& mixin_app_class); |
| 115 static void ApplyMixinMembers(const Class& cls); | 114 static void ApplyMixinMembers(const Class& cls); |
| 116 static void CreateForwardingConstructors( | 115 static void CreateForwardingConstructors( |
| 117 const Class& mixin_app, | 116 const Class& mixin_app, |
| 118 const GrowableObjectArray& cloned_funcs); | 117 const GrowableObjectArray& cloned_funcs); |
| 119 static void CollectTypeArguments(const Class& cls, | 118 static void CollectTypeArguments(const Class& cls, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); | 154 static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); |
| 156 | 155 |
| 157 // Verify implicit offsets recorded in the VM for direct access to fields of | 156 // Verify implicit offsets recorded in the VM for direct access to fields of |
| 158 // Dart instances (e.g: _TypedListView, _ByteDataView). | 157 // Dart instances (e.g: _TypedListView, _ByteDataView). |
| 159 static void VerifyImplicitFieldOffsets(); | 158 static void VerifyImplicitFieldOffsets(); |
| 160 }; | 159 }; |
| 161 | 160 |
| 162 } // namespace dart | 161 } // namespace dart |
| 163 | 162 |
| 164 #endif // VM_CLASS_FINALIZER_H_ | 163 #endif // VM_CLASS_FINALIZER_H_ |
| OLD | NEW |