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

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

Issue 889443002: Service isolate rework take 2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/class_table.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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const Script& script, 73 const Script& script,
74 const Type& type, 74 const Type& type,
75 const char* format, ...) 75 const char* format, ...)
76 PRINTF_ATTRIBUTE(4, 5); 76 PRINTF_ATTRIBUTE(4, 5);
77 77
78 // Return false if we still have classes pending to be finalized. 78 // Return false if we still have classes pending to be finalized.
79 static bool AllClassesFinalized(); 79 static bool AllClassesFinalized();
80 80
81 // Return whether processing pending classes (ObjectStore::pending_classes_) 81 // Return whether processing pending classes (ObjectStore::pending_classes_)
82 // failed. The function returns true if the processing was successful. 82 // failed. The function returns true if the processing was successful.
83 // If processin fails, an error message is set in the sticky error field 83 // If processing fails, an error message is set in the sticky error field
84 // in the object store. 84 // in the object store.
85 static bool ProcessPendingClasses(); 85 static bool ProcessPendingClasses();
86 86
87 // Finalize the types appearing in the declaration of class 'cls', i.e. its 87 // Finalize the types appearing in the declaration of class 'cls', i.e. its
88 // type parameters and their upper bounds, its super type and interfaces. 88 // type parameters and their upper bounds, its super type and interfaces.
89 // Note that the fields and functions have not been parsed yet (unless cls 89 // Note that the fields and functions have not been parsed yet (unless cls
90 // is an anonymous top level class). 90 // is an anonymous top level class).
91 static void FinalizeTypesInClass(const Class& cls); 91 static void FinalizeTypesInClass(const Class& cls);
92 92
93 // Finalize the class including its fields and functions. 93 // Finalize the class including its fields and functions.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); 178 const char* format, ...) PRINTF_ATTRIBUTE(4, 5);
179 179
180 // Verify implicit offsets recorded in the VM for direct access to fields of 180 // Verify implicit offsets recorded in the VM for direct access to fields of
181 // Dart instances (e.g: _TypedListView, _ByteDataView). 181 // Dart instances (e.g: _TypedListView, _ByteDataView).
182 static void VerifyImplicitFieldOffsets(); 182 static void VerifyImplicitFieldOffsets();
183 }; 183 };
184 184
185 } // namespace dart 185 } // namespace dart
186 186
187 #endif // VM_CLASS_FINALIZER_H_ 187 #endif // VM_CLASS_FINALIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/class_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698