Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1136)

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 1944213002: Support for taking full snapshots from 'dart', not just 'dart_bootstrap'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/dart_api_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 5633c72e9756a485809133a2bb9a3ee642caf89e..ebb96e8649d117fd2929f5a1875056b0b3e6a8b9 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -1494,8 +1494,7 @@ DART_EXPORT Dart_Handle Dart_CreateSnapshot(
vm_isolate_snapshot_buffer,
isolate_snapshot_buffer,
ApiReallocate,
- NULL, /* instructions_writer */
- true /* vm_isolate_is_symbolic */);
+ NULL /* instructions_writer */);
writer.WriteFullSnapshot();
*vm_isolate_snapshot_size = writer.VmIsolateSnapshotSize();
*isolate_snapshot_size = writer.IsolateSnapshotSize();
@@ -6182,8 +6181,7 @@ DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshotAssembly(
vm_isolate_snapshot_buffer,
isolate_snapshot_buffer,
ApiReallocate,
- &instructions_writer,
- false /* vm_isolate_is_symbolic */);
+ &instructions_writer);
writer.WriteFullSnapshot();
*vm_isolate_snapshot_size = writer.VmIsolateSnapshotSize();
@@ -6243,8 +6241,7 @@ DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshotBlob(
vm_isolate_snapshot_buffer,
isolate_snapshot_buffer,
ApiReallocate,
- &instructions_writer,
- false /* vm_isolate_is_symbolic */);
+ &instructions_writer);
writer.WriteFullSnapshot();
*vm_isolate_snapshot_size = writer.VmIsolateSnapshotSize();
@@ -6341,8 +6338,7 @@ DART_EXPORT Dart_Handle Dart_CreatePrecompiledJITSnapshotBlob(
vm_isolate_snapshot_buffer,
isolate_snapshot_buffer,
ApiReallocate,
- &instructions_writer,
- false /* vm_isolate_is_symbolic */);
+ &instructions_writer);
writer.WriteFullSnapshot();
*vm_isolate_snapshot_size = writer.VmIsolateSnapshotSize();
*isolate_snapshot_size = writer.IsolateSnapshotSize();
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/dart_api_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698