| Index: runtime/bin/main.cc
|
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
|
| index ee655d2474d3f8563a7b8705a461f165c366a497..e48a84b2a04665eac4b46e6812bbaa976f5e9010 100644
|
| --- a/runtime/bin/main.cc
|
| +++ b/runtime/bin/main.cc
|
| @@ -1193,7 +1193,7 @@ bool RunMainIsolate(const char* script_name,
|
| ASSERT(!Dart_IsError(builtin_lib));
|
| result = Dart_LibraryImportLibrary(builtin_lib, root_lib, Dart_Null());
|
|
|
| - if (has_gen_precompiled_snapshot) {
|
| + if (has_noopt || has_gen_precompiled_snapshot) {
|
| // Load the embedder's portion of the VM service's Dart code so it will
|
| // be included in the precompiled snapshot.
|
| if (!VmService::LoadForGenPrecompiled()) {
|
| @@ -1240,7 +1240,6 @@ bool RunMainIsolate(const char* script_name,
|
| { "dart:io", "_SecureFilterImpl", "get:ENCRYPTED_SIZE" },
|
| { "dart:io", "_SecureFilterImpl", "get:SIZE" },
|
| { "dart:vmservice_io", "::", "main" },
|
| - { "dart:vmservice_io", "::", "boot" },
|
| { NULL, NULL, NULL } // Must be terminated with NULL entries.
|
| };
|
|
|
|
|