| 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();
|
| }
|
|
|
|
|