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

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

Issue 12210127: First stab at mixins in VM compiler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 static bool IsSuperCycleFree(const Class& cls); 92 static bool IsSuperCycleFree(const Class& cls);
93 static bool IsAliasCycleFree(const Class& cls, 93 static bool IsAliasCycleFree(const Class& cls,
94 GrowableArray<intptr_t>* visited); 94 GrowableArray<intptr_t>* visited);
95 static void CheckForLegalConstClass(const Class& cls); 95 static void CheckForLegalConstClass(const Class& cls);
96 static RawClass* ResolveClass(const Class& cls, 96 static RawClass* ResolveClass(const Class& cls,
97 const UnresolvedClass& unresolved_class); 97 const UnresolvedClass& unresolved_class);
98 static void ResolveRedirectingFactoryTarget( 98 static void ResolveRedirectingFactoryTarget(
99 const Class& cls, 99 const Class& cls,
100 const Function& factory, 100 const Function& factory,
101 const GrowableObjectArray& visited_factories); 101 const GrowableObjectArray& visited_factories);
102 static void ApplyMixin(const Class& cls, const Type& mixin);
102 static void ResolveSuperTypeAndInterfaces(const Class& cls, 103 static void ResolveSuperTypeAndInterfaces(const Class& cls,
103 GrowableArray<intptr_t>* visited); 104 GrowableArray<intptr_t>* visited);
104 static void FinalizeTypeParameters(const Class& cls); 105 static void FinalizeTypeParameters(const Class& cls);
105 static void FinalizeTypeArguments(const Class& cls, 106 static void FinalizeTypeArguments(const Class& cls,
106 const AbstractTypeArguments& arguments, 107 const AbstractTypeArguments& arguments,
107 FinalizationKind finalization); 108 FinalizationKind finalization);
108 static void ResolveType(const Class& cls, 109 static void ResolveType(const Class& cls,
109 const AbstractType& type, 110 const AbstractType& type,
110 FinalizationKind finalization); 111 FinalizationKind finalization);
111 static void ResolveAndFinalizeUpperBounds(const Class& cls); 112 static void ResolveAndFinalizeUpperBounds(const Class& cls);
(...skipping 12 matching lines...) Expand all
124 static void ReportError(const Error& error); 125 static void ReportError(const Error& error);
125 static void ReportError(const Script& script, 126 static void ReportError(const Script& script,
126 intptr_t token_index, 127 intptr_t token_index,
127 const char* format, ...) PRINTF_ATTRIBUTE(3, 4); 128 const char* format, ...) PRINTF_ATTRIBUTE(3, 4);
128 static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); 129 static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2);
129 }; 130 };
130 131
131 } // namespace dart 132 } // namespace dart
132 133
133 #endif // VM_CLASS_FINALIZER_H_ 134 #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