| Index: runtime/vm/zone_test.cc
|
| diff --git a/runtime/vm/zone_test.cc b/runtime/vm/zone_test.cc
|
| index cb7b0c49ddf9f6f75e575af2d7060d1ad5178c16..ba0a25b188c922647cdcb3ba0896a6849aecaa13 100644
|
| --- a/runtime/vm/zone_test.cc
|
| +++ b/runtime/vm/zone_test.cc
|
| @@ -14,8 +14,8 @@ UNIT_TEST_CASE(AllocateZone) {
|
| #if defined(DEBUG)
|
| FLAG_trace_zones = true;
|
| #endif
|
| - Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_buffer, NULL, NULL,
|
| - NULL);
|
| + Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_data,
|
| + bin::core_isolate_snapshot_instructions, NULL, NULL, NULL);
|
| Thread* thread = Thread::Current();
|
| EXPECT(thread->zone() == NULL);
|
| {
|
| @@ -76,8 +76,8 @@ UNIT_TEST_CASE(AllocGeneric_Success) {
|
| #if defined(DEBUG)
|
| FLAG_trace_zones = true;
|
| #endif
|
| - Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_buffer, NULL, NULL,
|
| - NULL);
|
| + Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_data,
|
| + bin::core_isolate_snapshot_instructions, NULL, NULL, NULL);
|
| Thread* thread = Thread::Current();
|
| EXPECT(thread->zone() == NULL);
|
| {
|
| @@ -100,8 +100,8 @@ UNIT_TEST_CASE(AllocGeneric_Overflow) {
|
| #if defined(DEBUG)
|
| FLAG_trace_zones = true;
|
| #endif
|
| - Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_buffer, NULL, NULL,
|
| - NULL);
|
| + Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_data,
|
| + bin::core_isolate_snapshot_instructions, NULL, NULL, NULL);
|
| Thread* thread = Thread::Current();
|
| EXPECT(thread->zone() == NULL);
|
| {
|
| @@ -119,8 +119,8 @@ UNIT_TEST_CASE(ZoneAllocated) {
|
| #if defined(DEBUG)
|
| FLAG_trace_zones = true;
|
| #endif
|
| - Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_buffer, NULL, NULL,
|
| - NULL);
|
| + Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_data,
|
| + bin::core_isolate_snapshot_instructions, NULL, NULL, NULL);
|
| Thread* thread = Thread::Current();
|
| EXPECT(thread->zone() == NULL);
|
| static int marker;
|
| @@ -175,8 +175,8 @@ UNIT_TEST_CASE(PrintZoneMemoryInfoToJSON) {
|
| #if defined(DEBUG)
|
| FLAG_trace_zones = true;
|
| #endif
|
| - Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_buffer, NULL, NULL,
|
| - NULL);
|
| + Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_data,
|
| + bin::core_isolate_snapshot_instructions, NULL, NULL, NULL);
|
| Thread* thread = Thread::Current();
|
| EXPECT(thread->zone() == NULL);
|
| {
|
|
|