Index: runtime/vm/raw_object_snapshot.cc |
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc |
index 72e2f2b5e064a52de6f4811ce9a8b77f167cdc2b..13791de86ce08e556787214d9f9775b80492b2a0 100644 |
--- a/runtime/vm/raw_object_snapshot.cc |
+++ b/runtime/vm/raw_object_snapshot.cc |
@@ -1196,6 +1196,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); |
} |