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

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

Issue 1149423009: cps_ir: Clean up BuilderTask. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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/cps_ir/cps_ir_builder_task.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 e6d214c4ddf9faabf7493a9c3303b6eab1439a1f..2ba863e03eee8f1685d3169f2397b972b63a2ee5 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1511,14 +1511,6 @@ abstract class Compiler implements DiagnosticListener {
});
}
- bool irEnabled() {
- // TODO(sigurdm,kmillikin): Support checked-mode checks.
- return useCpsIr &&
- backend is DartBackend &&
- !enableTypeAssertions &&
- !enableConcreteTypeInference;
- }
-
void computeMain() {
if (mainApp == null) return;
@@ -1650,11 +1642,6 @@ abstract class Compiler implements DiagnosticListener {
deferredLoadTask.onResolutionComplete(mainFunction);
- if (irEnabled()) {
- log('Building IR...');
- irBuilder.buildNodes();
- }
-
log('Inferring types...');
typesTask.onResolutionComplete(mainFunction);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698