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

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

Issue 19023005: Implement forwarding constructors for mixins (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | runtime/vm/class_finalizer.cc » ('J')
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | runtime/vm/class_finalizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698