Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: runtime/vm/isolate.cc

Issue 1722733002: In background compilation make a copy of Field in order to freeze its state (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: e Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 6f20df9b6fdf23bea25fd27e0f6d352f0e146096..f643406d844bae57616f3610ba66a4b7a6e07a7d 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -2096,6 +2096,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);

Powered by Google App Engine
This is Rietveld 408576698