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

Unified Diff: runtime/bin/dfe.h

Issue 2925203002: Load service isolate from the kernel binary. (Closed)
Patch Set: Rebase Created 3 years, 6 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 | « no previous file | runtime/bin/dfe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dfe.h
diff --git a/runtime/bin/dfe.h b/runtime/bin/dfe.h
index 581c14a41301cf0cc5a9d10965e1e34e042c9948..6dfd507ba5df77736c8bc1fdd3b9cd359b8c5e92 100644
--- a/runtime/bin/dfe.h
+++ b/runtime/bin/dfe.h
@@ -32,6 +32,8 @@ class DFE {
void* kernel_platform() const { return kernel_platform_; }
+ void* kernel_vmservice_io() const { return kernel_vmservice_io_; }
+
// Method to reload a script into a running a isolate.
// If the specified script [url] is not a kernel IR, compile it first using
// DFE and then reload the resulting kernel IR into the isolate.
@@ -50,6 +52,10 @@ class DFE {
// Returns an in memory kernel representation of the platform kernel file.
void* ReadPlatform();
+ // Reads the vmservice_io kernel file.
+ // Returns the in memory representation of the vmservice_io kernel file.
+ void* ReadVMServiceIO();
+
// Reads the script kernel file if specified 'script_uri' is a kernel file.
// Returns an in memory kernel representation of the specified script is a
// valid kernel file, false otherwise.
@@ -67,7 +73,9 @@ class DFE {
const char* frontend_filename_;
char* platform_binary_filename_;
+ char* vmservice_io_binary_filename_;
void* kernel_platform_;
+ void* kernel_vmservice_io_;
DISALLOW_COPY_AND_ASSIGN(DFE);
};
« no previous file with comments | « no previous file | runtime/bin/dfe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698