Index: runtime/vm/raw_object_snapshot.cc |
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc |
index ff8c43835f8ea102fe00c685e698efa15a01678b..ffbfd63dfe841183ac17f18171bc0452c1440065 100644 |
--- a/runtime/vm/raw_object_snapshot.cc |
+++ b/runtime/vm/raw_object_snapshot.cc |
@@ -1180,6 +1180,8 @@ void RawCode::WriteTo(SnapshotWriter* writer, |
// Write out all the object pointer fields. |
SnapshotWriterVisitor visitor(writer); |
visitor.VisitPointers(from(), to()); |
+ |
+ writer->SetInstructionsCode(ptr()->instructions_, this); |
} |