| Index: runtime/vm/clustered_snapshot.cc
|
| diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
|
| index c64f180f0e09db61b73073e526d7e48afbd768a2..3bd1c6ce9d3db287e5abbea9015a6f77f32c8da4 100644
|
| --- a/runtime/vm/clustered_snapshot.cc
|
| +++ b/runtime/vm/clustered_snapshot.cc
|
| @@ -1093,7 +1093,7 @@ class FieldDeserializationCluster : public DeserializationCluster {
|
| Thread::Current(), Timeline::GetIsolateStream(), "PostLoadField"));
|
|
|
| Field& field = Field::Handle(zone);
|
| - if (!FLAG_use_field_guards) {
|
| + if (!Isolate::Current()->use_field_guards()) {
|
| for (intptr_t i = start_index_; i < stop_index_; i++) {
|
| field ^= refs.At(i);
|
| field.set_guarded_cid(kDynamicCid);
|
|
|