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

Unified Diff: runtime/vm/isolate.cc

Issue 1808553002: Precompilation: don't include an object header for instructions in the text section. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/vm/isolate.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 7678eefbae743b2f8df4967203bafd2fa2aa5046..7ad41b13b823ab8d7d8ccd552e740e23379e9e6e 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -969,23 +969,6 @@ Isolate* Isolate::Init(const char* name_prefix,
}
-void Isolate::SetupInstructionsSnapshotPage(
- const uint8_t* instructions_snapshot_buffer) {
- InstructionsSnapshot snapshot(instructions_snapshot_buffer);
-#if defined(DEBUG)
- if (FLAG_trace_isolates) {
- OS::Print("Precompiled instructions are at [0x%" Px ", 0x%" Px ")\n",
- reinterpret_cast<uword>(snapshot.instructions_start()),
- reinterpret_cast<uword>(snapshot.instructions_start()) +
- snapshot.instructions_size());
- }
-#endif
- heap_->SetupExternalPage(snapshot.instructions_start(),
- snapshot.instructions_size(),
- /* is_executable = */ true);
-}
-
-
void Isolate::SetupDataSnapshotPage(const uint8_t* data_snapshot_buffer) {
DataSnapshot snapshot(data_snapshot_buffer);
#if defined(DEBUG)
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698