Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: runtime/bin/loader.cc

Issue 2990833002: Fix for issue 29819 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/dfe.cc ('k') | runtime/bin/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « runtime/bin/dfe.cc ('k') | runtime/bin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698