| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index 18832d372cbed1428d772c13ec2bfa011236479e..534a9f0a627b8215464000e3681b6707fb2b660f 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -1539,7 +1539,8 @@ DART_EXPORT Dart_Handle Dart_CreateSnapshot(
|
| isolate->object_store()->set_root_library(Library::Handle(isolate));
|
| FullSnapshotWriter writer(vm_isolate_snapshot_buffer,
|
| isolate_snapshot_buffer,
|
| - ApiReallocate);
|
| + ApiReallocate,
|
| + false /* snapshot_code */);
|
| writer.WriteFullSnapshot();
|
| *vm_isolate_snapshot_size = writer.VmIsolateSnapshotSize();
|
| *isolate_snapshot_size = writer.IsolateSnapshotSize();
|
|
|