Index: runtime/vm/raw_object_snapshot.cc |
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc |
index 08e0ecb2e5a9a3659e85a2d1d7782e806f1d9dbc..70cfae7dd96a7d8010356a1e43f25ca3c5900c3a 100644 |
--- a/runtime/vm/raw_object_snapshot.cc |
+++ b/runtime/vm/raw_object_snapshot.cc |
@@ -1023,6 +1023,7 @@ RawLibrary* Library::ReadFrom(SnapshotReader* reader, |
library.raw_ptr()->num_imports_ = reader->ReadIntptrValue(); |
library.raw_ptr()->num_anonymous_ = reader->ReadIntptrValue(); |
library.raw_ptr()->corelib_imported_ = reader->Read<bool>(); |
+ library.raw_ptr()->is_dart_scheme_ = reader->Read<bool>(); |
library.raw_ptr()->debuggable_ = reader->Read<bool>(); |
library.raw_ptr()->load_state_ = reader->Read<int8_t>(); |
// The native resolver is not serialized. |
@@ -1072,6 +1073,7 @@ void RawLibrary::WriteTo(SnapshotWriter* writer, |
writer->WriteIntptrValue(ptr()->num_imports_); |
writer->WriteIntptrValue(ptr()->num_anonymous_); |
writer->Write<bool>(ptr()->corelib_imported_); |
+ writer->Write<bool>(ptr()->is_dart_scheme_); |
writer->Write<bool>(ptr()->debuggable_); |
writer->Write<int8_t>(ptr()->load_state_); |
// We do not serialize the native resolver over, this needs to be explicitly |