Index: runtime/vm/benchmark_test.cc |
diff --git a/runtime/vm/benchmark_test.cc b/runtime/vm/benchmark_test.cc |
index 77503755923c405e43ff81c631d834bcbbffa2c9..d4fb6515a0ae2f29d83bb6a0a502169ea3e85661 100644 |
--- a/runtime/vm/benchmark_test.cc |
+++ b/runtime/vm/benchmark_test.cc |
@@ -526,8 +526,8 @@ BENCHMARK_SIZE(CoreSnapshotSize) { |
// Write snapshot with object content. |
FullSnapshotWriter writer(&vm_isolate_snapshot_buffer, |
&isolate_snapshot_buffer, |
- NULL, /* instructions_snapshot_buffer */ |
&malloc_allocator, |
+ NULL, /* instructions_writer */ |
false, /* snapshot_code */ |
true /* vm_isolate_is_symbolic */); |
writer.WriteFullSnapshot(); |
@@ -563,8 +563,8 @@ BENCHMARK_SIZE(StandaloneSnapshotSize) { |
// Write snapshot with object content. |
FullSnapshotWriter writer(&vm_isolate_snapshot_buffer, |
&isolate_snapshot_buffer, |
- NULL, /* instructions_snapshot_buffer */ |
&malloc_allocator, |
+ NULL, /* instructions_writer */ |
false, /* snapshot_code */ |
true /* vm_isolate_is_symbolic */); |
writer.WriteFullSnapshot(); |