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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 2392863002: Roll kernel to latest (Closed)
Patch Set: Reinsert code Created 4 years, 2 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 | « DEPS ('k') | pkg/compiler/lib/src/js_backend/kernel_task.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index 3e4fcdfcff2c097760da0c86469d12968a7a05b5..bf9c1ab7b4190114223e2daefac81fe1f8e8c019 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -2370,7 +2370,7 @@ class JavaScriptBackend extends Backend {
enabledNoSuchMethod = true;
}
- if (compiler.options.useKernel) {
+ if (compiler.options.useKernel && compiler.mainApp != null) {
kernelTask.buildKernelIr();
}
« no previous file with comments | « DEPS ('k') | pkg/compiler/lib/src/js_backend/kernel_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698