| Index: runtime/vm/raw_object_snapshot.cc
|
| diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc
|
| index ed22fa28780d1d15c9c664096d6d47e28bfb65eb..d02909c40cd87194a6527e2618c9295b151e3267 100644
|
| --- a/runtime/vm/raw_object_snapshot.cc
|
| +++ b/runtime/vm/raw_object_snapshot.cc
|
| @@ -732,9 +732,8 @@ void RawClosureData::WriteTo(SnapshotWriter* writer,
|
| // Signature type.
|
| writer->WriteObjectImpl(ptr()->signature_type_, kAsInlinedObject);
|
|
|
| - // Static closure/Closure allocation stub.
|
| - // We don't write the closure or allocation stub in the snapshot.
|
| - writer->WriteVMIsolateObject(kNullObject);
|
| + // Canonical static closure.
|
| + writer->WriteObjectImpl(ptr()->closure_, kAsInlinedObject);
|
| }
|
|
|
|
|
|
|