| Index: runtime/vm/object_reload.cc
|
| diff --git a/runtime/vm/object_reload.cc b/runtime/vm/object_reload.cc
|
| index 405854db24770010541fb867e141835677a1248f..2a49fc2915d1ec9a3caff26d5b2beeca19cbf85f 100644
|
| --- a/runtime/vm/object_reload.cc
|
| +++ b/runtime/vm/object_reload.cc
|
| @@ -423,6 +423,9 @@ bool Class::CanReload(const Class& replacement) const {
|
| TIR_Print("Finalized replacement class for %s\n", ToCString());
|
| }
|
|
|
| + // At this point the original and replacement must be in the same state.
|
| + ASSERT(is_finalized() == replacement.is_finalized());
|
| +
|
| if (is_finalized()) {
|
| // Get the field maps for both classes. These field maps walk the class
|
| // hierarchy.
|
|
|