| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 static RawClass* ResolveClass(const Class& cls, | 75 static RawClass* ResolveClass(const Class& cls, |
| 76 const UnresolvedClass& unresolved_class); | 76 const UnresolvedClass& unresolved_class); |
| 77 static void ResolveSuperType(const Class& cls); | 77 static void ResolveSuperType(const Class& cls); |
| 78 static void ResolveDefaultClass(const Class& cls); | 78 static void ResolveDefaultClass(const Class& cls); |
| 79 static void ResolveInterfaces(const Class& cls, | 79 static void ResolveInterfaces(const Class& cls, |
| 80 GrowableArray<const Class*>* visited); | 80 GrowableArray<const Class*>* visited); |
| 81 static void FinalizeTypeArguments(const Class& cls, | 81 static void FinalizeTypeArguments(const Class& cls, |
| 82 const AbstractTypeArguments& arguments); | 82 const AbstractTypeArguments& arguments); |
| 83 static void ResolveType(const Class& cls, const AbstractType& type); | 83 static void ResolveType(const Class& cls, const AbstractType& type); |
| 84 static void ResolveAndFinalizeUpperBounds(const Class& cls); | 84 static void ResolveAndFinalizeUpperBounds(const Class& cls); |
| 85 static void VerifyUpperBounds(const Class& cls, | |
| 86 const AbstractTypeArguments& arguments); | |
| 87 static void ResolveAndFinalizeSignature(const Class& cls, | 85 static void ResolveAndFinalizeSignature(const Class& cls, |
| 88 const Function& function); | 86 const Function& function); |
| 89 static void ResolveAndFinalizeMemberTypes(const Class& cls); | 87 static void ResolveAndFinalizeMemberTypes(const Class& cls); |
| 90 static void PrintClassInformation(const Class& cls); | 88 static void PrintClassInformation(const Class& cls); |
| 91 static void VerifyClassImplements(const Class& cls); | 89 static void VerifyClassImplements(const Class& cls); |
| 92 static void CollectInterfaces(const Class& cls, | 90 static void CollectInterfaces(const Class& cls, |
| 93 GrowableArray<const Class*>* interfaces); | 91 GrowableArray<const Class*>* interfaces); |
| 94 static void ReportError(const Script& script, | 92 static void ReportError(const Script& script, |
| 95 intptr_t token_index, | 93 intptr_t token_index, |
| 96 const char* format, ...); | 94 const char* format, ...); |
| 97 static void ReportError(const char* format, ...); | 95 static void ReportError(const char* format, ...); |
| 98 static void ReportWarning(const Script& script, | 96 static void ReportWarning(const Script& script, |
| 99 intptr_t token_index, | 97 intptr_t token_index, |
| 100 const char* format, ...); | 98 const char* format, ...); |
| 101 }; | 99 }; |
| 102 | 100 |
| 103 } // namespace dart | 101 } // namespace dart |
| 104 | 102 |
| 105 #endif // VM_CLASS_FINALIZER_H_ | 103 #endif // VM_CLASS_FINALIZER_H_ |
| OLD | NEW |