Index: runtime/vm/raw_object_snapshot.cc |
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc |
index 79af969b2f5cb89483e835ab581a2f5656451288..f7a3cd0bf289f7ab5c6c3aad0dfbfca5027c760b 100644 |
--- a/runtime/vm/raw_object_snapshot.cc |
+++ b/runtime/vm/raw_object_snapshot.cc |
@@ -877,6 +877,8 @@ void RawField::WriteTo(SnapshotWriter* writer, |
writer->WriteObjectImpl(ptr()->owner_, kAsReference); |
// Write out the type. |
writer->WriteObjectImpl(ptr()->type_, kAsReference); |
+ // Write out the kernel_data. |
+ writer->WriteObjectImpl(ptr()->kernel_data_, kAsReference); |
// Write out the initial static value or field offset. |
if (Field::StaticBit::decode(ptr()->kind_bits_)) { |
if (Field::ConstBit::decode(ptr()->kind_bits_)) { |