| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index ff30eaf78205a3ad8d1070c81bdce15a1b0b322a..7db20274e799a777d2ea6af447f339aff9fb1b14 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -1538,7 +1538,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();
|
|
|