Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: runtime/vm/class_finalizer.h

Issue 1232613005: Allow super calls in mixins (for now behind a --supermixin flag). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 static void CheckForLegalConstClass(const Class& cls); 123 static void CheckForLegalConstClass(const Class& cls);
124 static RawClass* ResolveClass(const Class& cls, 124 static RawClass* ResolveClass(const Class& cls,
125 const UnresolvedClass& unresolved_class); 125 const UnresolvedClass& unresolved_class);
126 static void ResolveType(const Class& cls, const AbstractType& type); 126 static void ResolveType(const Class& cls, const AbstractType& type);
127 static void ResolveRedirectingFactoryTarget( 127 static void ResolveRedirectingFactoryTarget(
128 const Class& cls, 128 const Class& cls,
129 const Function& factory, 129 const Function& factory,
130 const GrowableObjectArray& visited_factories); 130 const GrowableObjectArray& visited_factories);
131 static void CloneMixinAppTypeParameters(const Class& mixin_app_class); 131 static void CloneMixinAppTypeParameters(const Class& mixin_app_class);
132 static void ApplyMixinAppAlias(const Class& mixin_app_class, 132 static void ApplyMixinAppAlias(const Class& mixin_app_class,
133 bool has_uninstantiated_bounds); 133 const TypeArguments& instantiator);
134 static void ApplyMixinMembers(const Class& cls); 134 static void ApplyMixinMembers(const Class& cls);
135 static void CreateForwardingConstructors( 135 static void CreateForwardingConstructors(
136 const Class& mixin_app, 136 const Class& mixin_app,
137 const GrowableObjectArray& cloned_funcs); 137 const GrowableObjectArray& cloned_funcs);
138 static void CollectTypeArguments(const Class& cls, 138 static void CollectTypeArguments(const Class& cls,
139 const Type& type, 139 const Type& type,
140 const GrowableObjectArray& collected_args); 140 const GrowableObjectArray& collected_args);
141 static RawType* ResolveMixinAppType(const Class& cls, 141 static RawType* ResolveMixinAppType(const Class& cls,
142 const MixinAppType& mixin_app_type); 142 const MixinAppType& mixin_app_type);
143 static void ResolveSuperTypeAndInterfaces(const Class& cls, 143 static void ResolveSuperTypeAndInterfaces(const Class& cls,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); 180 const char* format, ...) PRINTF_ATTRIBUTE(4, 5);
181 181
182 // Verify implicit offsets recorded in the VM for direct access to fields of 182 // Verify implicit offsets recorded in the VM for direct access to fields of
183 // Dart instances (e.g: _TypedListView, _ByteDataView). 183 // Dart instances (e.g: _TypedListView, _ByteDataView).
184 static void VerifyImplicitFieldOffsets(); 184 static void VerifyImplicitFieldOffsets();
185 }; 185 };
186 186
187 } // namespace dart 187 } // namespace dart
188 188
189 #endif // VM_CLASS_FINALIZER_H_ 189 #endif // VM_CLASS_FINALIZER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698