| Index: runtime/vm/raw_object_snapshot.cc
|
| diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc
|
| index db9d539b9bd5d601008f97521a56f96fadb3f537..7e823b75b222279306eb1d79772ede372273a827 100644
|
| --- a/runtime/vm/raw_object_snapshot.cc
|
| +++ b/runtime/vm/raw_object_snapshot.cc
|
| @@ -1462,7 +1462,7 @@ RawContext* Context::ReadFrom(SnapshotReader* reader,
|
| Context& context = Context::ZoneHandle(reader->zone());
|
| reader->AddBackRef(object_id, &context, kIsDeserialized);
|
| if (num_vars == 0) {
|
| - context ^= reader->object_store()->empty_context();
|
| + context ^= Object::empty_context().raw();
|
| } else {
|
| context ^= Context::New(num_vars);
|
|
|
|
|