Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: runtime/bin/snapshot_in.cc

Issue 2622053002: Refactor snapshots pieces to include a section for loading instructions into the heap of a regular … (Closed)
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/snapshot_empty.cc ('k') | runtime/bin/vmservice_dartium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/snapshot_in.cc
diff --git a/runtime/bin/snapshot_in.cc b/runtime/bin/snapshot_in.cc
index 861eeb41f683702ad3bc752f84d05023a72516cf..8445c20b41ca573e7f32a52d4a16cb52bdbea36b 100644
--- a/runtime/bin/snapshot_in.cc
+++ b/runtime/bin/snapshot_in.cc
@@ -22,20 +22,22 @@ namespace bin {
// generated snapshot binary file for the vm isolate.
// This string forms the content of a vm isolate snapshot which is loaded
// into the vm isolate.
-static const uint8_t vm_isolate_snapshot_buffer_[] = {
+static const uint8_t vm_snapshot_data_[] = {
%s
};
-const uint8_t* vm_isolate_snapshot_buffer = vm_isolate_snapshot_buffer_;
+const uint8_t* vm_snapshot_data = vm_snapshot_data_;
+const uint8_t* vm_snapshot_instructions = NULL;
// The string on the next line will be filled in with the contents of the
// generated snapshot binary file for a regular dart isolate.
// This string forms the content of a regular dart isolate snapshot which is
// loaded into an isolate when it is created.
-static const uint8_t core_isolate_snapshot_buffer_[] = {
+static const uint8_t core_isolate_snapshot_data_[] = {
%s
};
-const uint8_t* core_isolate_snapshot_buffer = core_isolate_snapshot_buffer_;
+const uint8_t* core_isolate_snapshot_data = core_isolate_snapshot_data_;
+const uint8_t* core_isolate_snapshot_instructions = NULL;
} // namespace bin
} // namespace dart
« no previous file with comments | « runtime/bin/snapshot_empty.cc ('k') | runtime/bin/vmservice_dartium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698