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

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: Fix issues with last 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..993676438e8d88c2b009f50d4ae5a1c138e026ac 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1490,7 +1490,9 @@ abstract class Compiler implements DiagnosticListener {
deferredLoadTask.onResolutionComplete(mainFunction);
log('Building IR...');
floitsch 2014/11/13 14:30:55 move log into if.
sigurdm 2014/11/13 14:43:41 Done.
- irBuilder.buildNodes();
+ if (const bool.fromEnvironment('USE_NEW_BACKEND')) {
+ irBuilder.buildNodes();
+ }
log('Inferring types...');
typesTask.onResolutionComplete(mainFunction);

Powered by Google App Engine
This is Rietveld 408576698