Index: runtime/vm/unit_test.h |
diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h |
index 0557c40b21a659ac751895ee2f85766764e7e71c..945fd6e8378b88ed8045a6672439cfc73e770a68 100644 |
--- a/runtime/vm/unit_test.h |
+++ b/runtime/vm/unit_test.h |
@@ -242,13 +242,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; |
} |
@@ -296,7 +294,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, |