Chromium Code Reviews| Index: runtime/bin/main.cc |
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
| index 693ab902d30f28f5c8107e305b8cc49606ecf3a3..2fd9a7bf50cb734632b09ebc0796c2023f4e3e60 100644 |
| --- a/runtime/bin/main.cc |
| +++ b/runtime/bin/main.cc |
| @@ -611,6 +611,10 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri, |
| return NULL; |
| } |
| Dart_ExitScope(); |
| + if (has_compile_all) { |
| + result = Dart_CompileAll(); |
| + CHECK_RESULT(result); |
| + } |
| Dart_ExitIsolate(); |
| return isolate; |
| } |