| Index: runtime/bin/loader.cc
|
| diff --git a/runtime/bin/loader.cc b/runtime/bin/loader.cc
|
| index 13465f24a988e4b7dcc62848cbf698638068452e..a8ebdc8c484357da272c37b7143787a8a492794e 100644
|
| --- a/runtime/bin/loader.cc
|
| +++ b/runtime/bin/loader.cc
|
| @@ -635,7 +635,7 @@ Dart_Handle Loader::LibraryTagHandler(Dart_LibraryTag tag,
|
| return result;
|
| }
|
| if (tag == Dart_kScriptTag) {
|
| - if (dfe.UseDartFrontend()) {
|
| + if (dfe.UseDartFrontend() || dfe.kernel_file_specified()) {
|
| Dart_Isolate current = Dart_CurrentIsolate();
|
| // Check if we are trying to reload a kernel file or if the '--dfe'
|
| // option was specified and we need to compile sources using DFE.
|
|
|