Index: runtime/bin/dfe.cc |
diff --git a/runtime/bin/dfe.cc b/runtime/bin/dfe.cc |
index 8ad055df505d6864cb81ce3427fa97dfa3d14c3d..9b37e98cb722d802bcb2f270a42cfebc677cf90e 100644 |
--- a/runtime/bin/dfe.cc |
+++ b/runtime/bin/dfe.cc |
@@ -13,15 +13,12 @@ namespace dart { |
namespace bin { |
const char kPlatformBinaryName[] = "platform.dill"; |
-const char kVMServiceIOBinaryName[] = "vmservice_io.dill"; |
DFE::DFE() |
: frontend_filename_(NULL), |
platform_binary_filename_(NULL), |
- vmservice_io_binary_filename_(NULL), |
- kernel_platform_(NULL), |
- kernel_vmservice_io_(NULL) {} |
+ kernel_platform_(NULL) {} |
DFE::~DFE() { |
@@ -36,11 +33,6 @@ DFE::~DFE() { |
delete reinterpret_cast<kernel::Program*>(kernel_platform_); |
kernel_platform_ = NULL; |
} |
- |
- if (kernel_vmservice_io_ != NULL) { |
- delete reinterpret_cast<kernel::Program*>(kernel_vmservice_io_); |
- kernel_vmservice_io_ = NULL; |
- } |
} |
@@ -51,13 +43,6 @@ void DFE::SetKernelBinaries(const char* name) { |
platform_binary_filename_ = new char[len]; |
snprintf(platform_binary_filename_, len, "%s%s%s", name, |
File::PathSeparator(), kPlatformBinaryName); |
- |
- len = snprintf(NULL, 0, "%s%s%s", name, File::PathSeparator(), |
- kVMServiceIOBinaryName) + |
- 1; |
- vmservice_io_binary_filename_ = new char[len]; |
- snprintf(vmservice_io_binary_filename_, len, "%s%s%s", name, |
- File::PathSeparator(), kVMServiceIOBinaryName); |
} |
@@ -124,11 +109,6 @@ void* DFE::ReadPlatform() { |
} |
-void* DFE::ReadVMServiceIO() { |
- return kernel_vmservice_io_ = ReadScript(vmservice_io_binary_filename_); |
-} |
- |
- |
void* DFE::ReadScript(const char* script_uri) { |
const uint8_t* buffer = NULL; |
intptr_t buffer_length = -1; |