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

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

Issue 1311693003: oneee# Enter a description of the change. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 static void CheckTypeBounds(const Class& cls, const Type& type); 143 static void CheckTypeBounds(const Class& cls, const Type& type);
144 static void CheckTypeArgumentBounds(const Class& cls, 144 static void CheckTypeArgumentBounds(const Class& cls,
145 const TypeArguments& arguments, 145 const TypeArguments& arguments,
146 Error* bound_error); 146 Error* bound_error);
147 static void ResolveUpperBounds(const Class& cls); 147 static void ResolveUpperBounds(const Class& cls);
148 static void FinalizeUpperBounds(const Class& cls); 148 static void FinalizeUpperBounds(const Class& cls);
149 static void ResolveAndFinalizeSignature(const Class& cls, 149 static void ResolveAndFinalizeSignature(const Class& cls,
150 const Function& function); 150 const Function& function);
151 static void ResolveAndFinalizeMemberTypes(const Class& cls); 151 static void ResolveAndFinalizeMemberTypes(const Class& cls);
152 static void PrintClassInformation(const Class& cls); 152 static void PrintClassInformation(const Class& cls);
153 static void CollectInterfaces(const Class& cls, 153 static void CollectInterfaces(
154 const GrowableObjectArray& interfaces); 154 const Class& cls, GrowableArray<const Class*>* collected);
155
155 static void MarkTypeMalformed(const Error& prev_error, 156 static void MarkTypeMalformed(const Error& prev_error,
156 const Script& script, 157 const Script& script,
157 const Type& type, 158 const Type& type,
158 const char* format, 159 const char* format,
159 va_list args); 160 va_list args);
160 static void ReportError(const Error& error); 161 static void ReportError(const Error& error);
161 static void ReportError(const Class& cls, 162 static void ReportError(const Class& cls,
162 intptr_t token_pos, 163 intptr_t token_pos,
163 const char* format, ...) PRINTF_ATTRIBUTE(3, 4); 164 const char* format, ...) PRINTF_ATTRIBUTE(3, 4);
164 static void ReportErrors(const Error& prev_error, 165 static void ReportErrors(const Error& prev_error,
165 const Class& cls, 166 const Class& cls,
166 intptr_t token_pos, 167 intptr_t token_pos,
167 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); 168 const char* format, ...) PRINTF_ATTRIBUTE(4, 5);
168 169
169 // Verify implicit offsets recorded in the VM for direct access to fields of 170 // Verify implicit offsets recorded in the VM for direct access to fields of
170 // Dart instances (e.g: _TypedListView, _ByteDataView). 171 // Dart instances (e.g: _TypedListView, _ByteDataView).
171 static void VerifyImplicitFieldOffsets(); 172 static void VerifyImplicitFieldOffsets();
172 }; 173 };
173 174
174 } // namespace dart 175 } // namespace dart
175 176
176 #endif // VM_CLASS_FINALIZER_H_ 177 #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