| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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); | 125 const MixinAppType& mixin_app); |
| 126 static void ResolveSuperTypeAndInterfaces(const Class& cls, | 126 static void ResolveSuperTypeAndInterfaces(const Class& cls, |
| 127 GrowableArray<intptr_t>* visited); | 127 GrowableArray<intptr_t>* visited); |
| 128 static void FinalizeTypeParameters(const Class& cls); | 128 static void FinalizeTypeParameters(const Class& cls); |
| 129 static void FinalizeTypeArguments(const Class& cls, | 129 static void FinalizeTypeArguments(const Class& cls, |
| 130 const AbstractTypeArguments& arguments, | 130 const AbstractTypeArguments& arguments, |
| 131 intptr_t num_uninitialized_arguments, |
| 131 FinalizationKind finalization, | 132 FinalizationKind finalization, |
| 132 Error* bound_error); | 133 Error* bound_error); |
| 133 static void CheckTypeArgumentBounds(const Class& cls, | 134 static void CheckTypeArgumentBounds(const Class& cls, |
| 134 const AbstractTypeArguments& arguments, | 135 const AbstractTypeArguments& arguments, |
| 135 Error* bound_error); | 136 Error* bound_error); |
| 136 static void ResolveType(const Class& cls, | 137 static void ResolveType(const Class& cls, |
| 137 const AbstractType& type, | 138 const AbstractType& type, |
| 138 FinalizationKind finalization); | 139 FinalizationKind finalization); |
| 139 static void ResolveUpperBounds(const Class& cls); | 140 static void ResolveUpperBounds(const Class& cls); |
| 140 static void FinalizeUpperBounds(const Class& cls); | 141 static void FinalizeUpperBounds(const Class& cls); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 157 static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); | 158 static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); |
| 158 | 159 |
| 159 // Verify implicit offsets recorded in the VM for direct access to fields of | 160 // Verify implicit offsets recorded in the VM for direct access to fields of |
| 160 // Dart instances (e.g: _TypedListView, _ByteDataView). | 161 // Dart instances (e.g: _TypedListView, _ByteDataView). |
| 161 static void VerifyImplicitFieldOffsets(); | 162 static void VerifyImplicitFieldOffsets(); |
| 162 }; | 163 }; |
| 163 | 164 |
| 164 } // namespace dart | 165 } // namespace dart |
| 165 | 166 |
| 166 #endif // VM_CLASS_FINALIZER_H_ | 167 #endif // VM_CLASS_FINALIZER_H_ |
| OLD | NEW |