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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 1318803002: Toward precompiled snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/snapshot.cc ('k') | tools/precompilation/create_instructions_snapshot_assembly.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
index 12934d7eae62d3b8df0af2a6b960fa2666784a90..54e162efe43405e345c9d031500f49d5774f6d82 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -835,8 +835,10 @@ class TestSnapshotWriter : public SnapshotWriter {
alloc,
kInitialSize,
&forward_list_,
+ NULL, /* test_writer */
true, /* can_send_any_object */
- false /* snapshot_code */),
+ false, /* snapshot_code */
+ true /* vm_isolate_is_symbolic */),
forward_list_(kMaxPredefinedObjectIds) {
ASSERT(buffer != NULL);
ASSERT(alloc != NULL);
@@ -1180,8 +1182,10 @@ UNIT_TEST_CASE(FullSnapshot) {
{
FullSnapshotWriter writer(NULL,
&isolate_snapshot_buffer,
+ NULL, /* instructions_snapshot_buffer */
&malloc_allocator,
- false /* snapshot_code */);
+ false, /* snapshot_code */
+ true);
writer.WriteFullSnapshot();
}
}
@@ -1239,8 +1243,10 @@ UNIT_TEST_CASE(FullSnapshot1) {
{
FullSnapshotWriter writer(NULL,
&isolate_snapshot_buffer,
+ NULL, /* instructions_snapshot_buffer */
&malloc_allocator,
- false /* snapshot_code */);
+ false, /* snapshot_code */
+ true /* vm_isolate_is_symbolic */);
writer.WriteFullSnapshot();
}
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | tools/precompilation/create_instructions_snapshot_assembly.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698