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

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

Issue 737713004: Fix enabling of the new dart backend (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | no next file » | 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 53355159072aabefb12805c90c6a5262d770fa65..26ed666fc4544130c04615d2696bc1e444980be9 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1381,8 +1381,8 @@ abstract class Compiler implements DiagnosticListener {
// TODO(sigurdm,kmillikin): Support checked-mode checks.
return const bool.fromEnvironment('USE_NEW_BACKEND') &&
backend is DartBackend &&
- enableTypeAssertions &&
- enableConcreteTypeInference;
+ !enableTypeAssertions &&
+ !enableConcreteTypeInference;
}
void computeMain() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698