Chromium Code Reviews| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 static RawClass* ResolveClass(const Class& cls, | 99 static RawClass* ResolveClass(const Class& cls, |
| 100 const UnresolvedClass& unresolved_class, | 100 const UnresolvedClass& unresolved_class, |
| 101 Error* ambiguity_error); | 101 Error* ambiguity_error); |
| 102 static void ResolveRedirectingFactoryTarget( | 102 static void ResolveRedirectingFactoryTarget( |
| 103 const Class& cls, | 103 const Class& cls, |
| 104 const Function& factory, | 104 const Function& factory, |
| 105 const GrowableObjectArray& visited_factories); | 105 const GrowableObjectArray& visited_factories); |
| 106 static void CloneTypeParameters(const Class& mixapp_class); | 106 static void CloneTypeParameters(const Class& mixapp_class); |
| 107 static void ApplyMixinTypes(const Class& cls); | 107 static void ApplyMixinTypes(const Class& cls); |
| 108 static void ApplyMixin(const Class& cls); | 108 static void ApplyMixin(const Class& cls); |
| 109 static void CreateForwardingConstructors( | |
| 110 const Class& mixin_app, | |
| 111 const GrowableObjectArray& cloned_funcs); | |
|
srdjan
2013/07/12 21:53:57
Strange indentation.
hausner
2013/07/12 22:00:42
Done.
| |
| 109 static void CollectTypeArguments(const Class& cls, | 112 static void CollectTypeArguments(const Class& cls, |
| 110 const Type& type, | 113 const Type& type, |
| 111 const GrowableObjectArray& collected_args); | 114 const GrowableObjectArray& collected_args); |
| 112 static RawType* ResolveMixinAppType(const Class& cls, | 115 static RawType* ResolveMixinAppType(const Class& cls, |
| 113 const MixinAppType& mixin_app); | 116 const MixinAppType& mixin_app); |
| 114 static void ResolveSuperTypeAndInterfaces(const Class& cls, | 117 static void ResolveSuperTypeAndInterfaces(const Class& cls, |
| 115 GrowableArray<intptr_t>* visited); | 118 GrowableArray<intptr_t>* visited); |
| 116 static void FinalizeTypeParameters(const Class& cls); | 119 static void FinalizeTypeParameters(const Class& cls); |
| 117 static void FinalizeTypeArguments(const Class& cls, | 120 static void FinalizeTypeArguments(const Class& cls, |
| 118 const AbstractTypeArguments& arguments, | 121 const AbstractTypeArguments& arguments, |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 145 static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); | 148 static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); |
| 146 | 149 |
| 147 // Verify implicit offsets recorded in the VM for direct access to fields of | 150 // Verify implicit offsets recorded in the VM for direct access to fields of |
| 148 // Dart instances (e.g: _TypedListView, _ByteDataView). | 151 // Dart instances (e.g: _TypedListView, _ByteDataView). |
| 149 static void VerifyImplicitFieldOffsets(); | 152 static void VerifyImplicitFieldOffsets(); |
| 150 }; | 153 }; |
| 151 | 154 |
| 152 } // namespace dart | 155 } // namespace dart |
| 153 | 156 |
| 154 #endif // VM_CLASS_FINALIZER_H_ | 157 #endif // VM_CLASS_FINALIZER_H_ |
| OLD | NEW |