Index: runtime/bin/dfe.h |
diff --git a/runtime/bin/dfe.h b/runtime/bin/dfe.h |
index 2f61329d9a546c420f430d4b51f8658d0686fcfd..854263978b9a8bbde276cbaad6e8cf1a1fccbe95 100644 |
--- a/runtime/bin/dfe.h |
+++ b/runtime/bin/dfe.h |
@@ -30,8 +30,14 @@ class DFE { |
} |
bool UsePlatformBinary() const { return platform_binary_filename_ != NULL; } |
+ void set_vmservice_io_binary_filename(const char* name) { |
+ vmservice_io_binary_filename_ = name; |
+ } |
+ |
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 +56,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 +77,9 @@ class DFE { |
const char* frontend_filename_; |
const char* platform_binary_filename_; |
+ const char* vmservice_io_binary_filename_; |
void* kernel_platform_; |
+ void* kernel_vmservice_io_; |
DISALLOW_COPY_AND_ASSIGN(DFE); |
}; |