Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index da7e1feebc7c51674f887e3199364c8a987ebd71..614ab37f4b8582ff528e080019e69490951b689b 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -2082,6 +2082,7 @@ void Isolate::set_registered_service_extension_handlers( |
void Isolate::AddDeoptimizingBoxedField(const Field& field) { |
+ ASSERT(field.IsOriginal()); |
MonitorLocker ml(boxed_field_list_monitor_); |
if (boxed_field_list_ == GrowableObjectArray::null()) { |
boxed_field_list_ = GrowableObjectArray::New(Heap::kOld); |