| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index c0a2fc54d11864c4b2a954a095feeef798fe84be..9dcaa4b3fee1d0dea533754dbcc75454e53ea837 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -1493,11 +1493,11 @@ DART_EXPORT Dart_Handle Dart_CreateSnapshot(
|
| I->heap()->IterateObjects(&check_canonical);
|
| #endif // #if defined(DEBUG).
|
|
|
| - FullSnapshotWriter writer(vm_isolate_snapshot_buffer,
|
| + FullSnapshotWriter writer(Snapshot::kCore,
|
| + vm_isolate_snapshot_buffer,
|
| isolate_snapshot_buffer,
|
| ApiReallocate,
|
| NULL, /* instructions_writer */
|
| - false, /* snapshot_code */
|
| true /* vm_isolate_is_symbolic */);
|
| writer.WriteFullSnapshot();
|
| *vm_isolate_snapshot_size = writer.VmIsolateSnapshotSize();
|
|
|