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

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

Issue 2916393002: Compute constants from IR nodes (Closed)
Patch Set: Updated cf. comments Created 3 years, 7 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 | « no previous file | pkg/compiler/lib/src/js_backend/runtime_types.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 8d55e79a1ba63dd8c4aaba154d7fd1ca24efa539..40af37b548097a2c699fb43b7455b8a0c7c88ab3 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -578,7 +578,9 @@ abstract class Compiler {
_reporter.reportSuppressedMessagesSummary();
if (compilationFailed) {
- if (!options.generateCodeWithCompileTimeErrors) return;
+ if (!options.generateCodeWithCompileTimeErrors || options.useKernel) {
+ return;
+ }
if (mainFunction == null) return;
if (!backend
.enableCodegenWithErrorsIfSupported(NO_LOCATION_SPANNABLE)) {
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/runtime_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698