Index: runtime/vm/raw_object_snapshot.cc |
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc |
index 490e7b3f130181a6914c7cee8cc738c9e19be82c..2f8f452ec899d5764347d16c762dad19579b6d9a 100644 |
--- a/runtime/vm/raw_object_snapshot.cc |
+++ b/runtime/vm/raw_object_snapshot.cc |
@@ -698,6 +698,7 @@ RawFunction* Function::ReadFrom(SnapshotReader* reader, |
func.set_num_fixed_parameters(reader->Read<int16_t>()); |
func.set_num_optional_parameters(reader->Read<int16_t>()); |
func.set_deoptimization_counter(reader->Read<int16_t>()); |
+ func.set_regexp_cid(reader->Read<int16_t>()); |
func.set_kind_tag(reader->Read<uint32_t>()); |
func.set_optimized_instruction_count(reader->Read<uint16_t>()); |
func.set_optimized_call_site_count(reader->Read<uint16_t>()); |
@@ -741,6 +742,7 @@ void RawFunction::WriteTo(SnapshotWriter* writer, |
writer->Write<int16_t>(ptr()->num_fixed_parameters_); |
writer->Write<int16_t>(ptr()->num_optional_parameters_); |
writer->Write<int16_t>(ptr()->deoptimization_counter_); |
+ writer->Write<int16_t>(ptr()->regexp_cid_); |
writer->Write<uint32_t>(ptr()->kind_tag_); |
writer->Write<uint16_t>(ptr()->optimized_instruction_count_); |
writer->Write<uint16_t>(ptr()->optimized_call_site_count_); |