Index: runtime/vm/clustered_snapshot.cc |
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc |
index fa3b76b5517a6777ec89076be16871f06dd22265..22d3be082afd99da6d6fc8dde67398175b982d79 100644 |
--- a/runtime/vm/clustered_snapshot.cc |
+++ b/runtime/vm/clustered_snapshot.cc |
@@ -5288,7 +5288,10 @@ void FullSnapshotWriter::WriteFullSnapshot() { |
WriteIsolateFullSnapshot(num_base_objects); |
if (Snapshot::IncludesCode(kind_)) { |
- instructions_writer_->Write(); |
+ instructions_writer_->Write(*vm_isolate_snapshot_buffer_, |
+ vm_isolate_snapshot_size_, |
+ *isolate_snapshot_buffer_, |
+ isolate_snapshot_size_); |
OS::Print("VMIsolate(CodeSize): %" Pd "\n", VmIsolateSnapshotSize()); |
OS::Print("Isolate(CodeSize): %" Pd "\n", IsolateSnapshotSize()); |