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