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

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
« no previous file with comments | « 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 b21069518dac9e6e75d5f0b914ff82c8281524e4..be0e815b5a17f844a7d8e6c46c8e3bd9506c679b 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();
}
« no previous file with comments | « runtime/vm/snapshot_ids.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698