Index: runtime/vm/unit_test.h |
diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h |
index f0c0fccc7bd37c8a041f6a55aba35365cfc7bba2..c0e8d2634d6a61367462e6682c3f159ef50a0bf4 100644 |
--- a/runtime/vm/unit_test.h |
+++ b/runtime/vm/unit_test.h |
@@ -241,13 +241,11 @@ class VirtualMemory; |
namespace bin { |
-// vm_isolate_snapshot_buffer points to a snapshot for the vm isolate if we |
-// link in a snapshot otherwise it is initialized to NULL. |
-extern const uint8_t* vm_isolate_snapshot_buffer; |
- |
-// isolate_snapshot_buffer points to a snapshot for an isolate if we link in a |
-// snapshot otherwise it is initialized to NULL. |
-extern const uint8_t* core_isolate_snapshot_buffer; |
+// Snapshot pieces if we link in a snapshot, otherwise initialized to NULL. |
+extern const uint8_t* vm_snapshot_data; |
+extern const uint8_t* vm_snapshot_instructions; |
+extern const uint8_t* core_isolate_snapshot_data; |
+extern const uint8_t* core_isolate_snapshot_instructions; |
} |
@@ -295,7 +293,7 @@ class TestCase : TestCaseBase { |
return CreateIsolate(buffer, name); |
} |
static Dart_Isolate CreateTestIsolate(const char* name = NULL) { |
- return CreateIsolate(bin::core_isolate_snapshot_buffer, name); |
+ return CreateIsolate(bin::core_isolate_snapshot_data, name); |
} |
static Dart_Handle library_handler(Dart_LibraryTag tag, |
Dart_Handle library, |