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

Unified Diff: runtime/vm/class_finalizer.h

Issue 2485993002: VM: Support bootstrapping core libraries from Kernel binaries instead of source. (Closed)
Patch Set: Done Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/class_finalizer.h
diff --git a/runtime/vm/class_finalizer.h b/runtime/vm/class_finalizer.h
index 16a19f8146aac673ee5187371a3037e43a3f4b11..7825419bcad85b23397fec4b737118d87fc22307 100644
--- a/runtime/vm/class_finalizer.h
+++ b/runtime/vm/class_finalizer.h
@@ -71,7 +71,7 @@ class ClassFinalizer : public AllStatic {
// failed. The function returns true if the processing was successful.
// If processing fails, an error message is set in the sticky error field
// in the object store.
- static bool ProcessPendingClasses();
+ static bool ProcessPendingClasses(bool from_kernel = false);
// Finalize the types appearing in the declaration of class 'cls', i.e. its
// type parameters and their upper bounds, its super type and interfaces.
@@ -82,11 +82,9 @@ class ClassFinalizer : public AllStatic {
// Finalize the class including its fields and functions.
static void FinalizeClass(const Class& cls);
-#if defined(DART_NO_SNAPSHOT)
// Verify that the classes have been properly prefinalized. This is
// needed during bootstrapping where the classes have been preloaded.
static void VerifyBootstrapClasses();
-#endif // defined(DART_NO_SNAPSHOT).
// Resolve the class of the type, but not the type's type arguments.
// May promote the type to function type by setting its signature field.

Powered by Google App Engine
This is Rietveld 408576698