Index: runtime/vm/object_reload.cc |
diff --git a/runtime/vm/object_reload.cc b/runtime/vm/object_reload.cc |
index 669ad19f4f8074db834a23393ec10bc63e80ac49..09fa4ba04e3b55c2b7746c656c6081569528d45b 100644 |
--- a/runtime/vm/object_reload.cc |
+++ b/runtime/vm/object_reload.cc |
@@ -538,6 +538,7 @@ void Class::CheckReload(const Class& replacement, |
EnsureFinalizedError(context->zone(), *this, replacement, error)); |
return; // No reason to check other properties. |
} |
+ ASSERT(replacement.is_finalized()); |
TIR_Print("Finalized replacement class for %s\n", ToCString()); |
} |