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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 1290933002: Toward precompiled snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« runtime/vm/snapshot_ids.h ('K') | « runtime/vm/snapshot_ids.h ('k') | no next file » | 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 0c4ccaa5544a3926781ca12a14d2591996fbfe78..e768feadf979a6d5b154d9ecda8044bc0ea52e92 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -897,7 +897,8 @@ class TestSnapshotWriter : public SnapshotWriter {
alloc,
kInitialSize,
&forward_list_,
- true),
+ true, /* can_send_any_object */
+ false /* snapshot_code */),
forward_list_(kMaxPredefinedObjectIds) {
ASSERT(buffer != NULL);
ASSERT(alloc != NULL);
@@ -1244,7 +1245,8 @@ UNIT_TEST_CASE(FullSnapshot) {
{
FullSnapshotWriter writer(NULL,
&isolate_snapshot_buffer,
- &malloc_allocator);
+ &malloc_allocator,
+ false /* snapshot_code */);
writer.WriteFullSnapshot();
}
}
@@ -1302,7 +1304,8 @@ UNIT_TEST_CASE(FullSnapshot1) {
{
FullSnapshotWriter writer(NULL,
&isolate_snapshot_buffer,
- &malloc_allocator);
+ &malloc_allocator,
+ false /* snapshot_code */);
writer.WriteFullSnapshot();
}
« runtime/vm/snapshot_ids.h ('K') | « runtime/vm/snapshot_ids.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698