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

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
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index a53ede7909ea2035b94d7b2defc00a3f3fb9161e..58cd080008ab867380eed06cde181d2e1ffa5ffa 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();
@@ -6123,8 +6122,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();
@@ -6185,8 +6183,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();
@@ -6284,8 +6281,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/precompiler.cc » ('j') | runtime/vm/precompiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698