Index: runtime/vm/class_finalizer.h |
diff --git a/runtime/vm/class_finalizer.h b/runtime/vm/class_finalizer.h |
index 5bcfc6b745ae0889d35eebb95c000efb544f6199..f30f7a542922325e734f15f27b6d42bd42d67898 100644 |
--- a/runtime/vm/class_finalizer.h |
+++ b/runtime/vm/class_finalizer.h |
@@ -70,7 +70,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. |
@@ -81,11 +81,11 @@ class ClassFinalizer : public AllStatic { |
// Finalize the class including its fields and functions. |
static void FinalizeClass(const Class& cls); |
-#if defined(DART_NO_SNAPSHOT) |
+#if !defined(DART_PRECOMPILED_RUNTIME) |
// 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). |
+#endif // !defined(DART_PRECOMPILED_RUNTIME) |
// 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. |