Index: runtime/vm/class_finalizer.h |
=================================================================== |
--- runtime/vm/class_finalizer.h (revision 30381) |
+++ runtime/vm/class_finalizer.h (working copy) |
@@ -57,8 +57,7 @@ |
const char* format, ...) |
PRINTF_ATTRIBUTE(4, 5); |
- // Depending on the given type, finalization mode, and execution mode, mark |
- // the given type as malformed or report a compile time error. |
+ // Mark the given type as malformed. |
// If not null, prepend prev_error to the error message built from the format |
// string and its arguments. |
static void FinalizeMalformedType(const Error& prev_error, |
@@ -67,6 +66,15 @@ |
const char* format, ...) |
PRINTF_ATTRIBUTE(4, 5); |
+ // Mark the given type as malbounded. |
+ // If not null, prepend prev_error to the error message built from the format |
+ // string and its arguments. |
+ static void FinalizeMalboundedType(const Error& prev_error, |
+ const Script& script, |
+ const Type& type, |
+ const char* format, ...) |
+ PRINTF_ATTRIBUTE(4, 5); |
+ |
// Return false if we still have classes pending to be finalized. |
static bool AllClassesFinalized(); |