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

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

Issue 716823002: Set up a stub pipline for using the new cps-based ir to generate js. (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
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index fad4298d35af97a8d80cc6d5b4c10ba27292c562..f792bfa48bc3ffb7552eb3d051e83af55a55325d 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -716,6 +716,8 @@ abstract class Compiler implements DiagnosticListener {
/// suppressed for each library.
Map<Uri, SuppressionInfo> suppressedWarnings = <Uri, SuppressionInfo>{};
+ static const bool USE_CPS_IR = const bool.fromEnvironment("USE_CPS_IR");
floitsch 2014/11/12 11:03:19 Just move it to js_backend/backend.dart unless you
sigurdm 2014/11/13 08:29:41 Done.
+
final bool suppressWarnings;
/// `true` if async/await features are supported.

Powered by Google App Engine
This is Rietveld 408576698