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

Unified Diff: pkg/kernel/bin/transform.dart

Issue 2526793002: Remove closure_conversion.dart from pkg/kernel. (Closed)
Patch Set: Created 4 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 | pkg/kernel/lib/transformations/closure_conversion.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/bin/transform.dart
diff --git a/pkg/kernel/bin/transform.dart b/pkg/kernel/bin/transform.dart
index 28425bac10058620284033720cc654d6302f22f6..3f11e2d53f951ff6e53e495cca0c8acf0d90fb09 100755
--- a/pkg/kernel/bin/transform.dart
+++ b/pkg/kernel/bin/transform.dart
@@ -12,7 +12,6 @@ import 'package:kernel/checks.dart' as checks;
import 'package:kernel/transformations/continuation.dart' as cont;
import 'package:kernel/transformations/infer_values.dart' as infer_values;
import 'package:kernel/transformations/mixin_full_resolution.dart' as mix;
-import 'package:kernel/transformations/closure_conversion.dart' as closures;
import 'package:kernel/transformations/treeshaker.dart' as treeshaker;
import 'batch_util.dart';
@@ -23,10 +22,7 @@ ArgParser parser = new ArgParser()
allowed: ['text', 'bin'],
defaultsTo: 'bin',
help: 'Output format.')
- ..addOption('out',
- abbr: 'o',
- help: 'Output file.',
- defaultsTo: null)
+ ..addOption('out', abbr: 'o', help: 'Output file.', defaultsTo: null)
..addFlag('verbose',
abbr: 'v',
negatable: false,
@@ -76,13 +72,11 @@ Future<CompilerOutcome> runTransformation(List<String> arguments) async {
case 'resolve-mixins':
program = mix.transformProgram(program);
break;
- case 'closures':
- program = closures.transformProgram(program);
- break;
case 'treeshake':
program = treeshaker.transformProgram(program);
break;
- default: throw 'Unknown transformation';
+ default:
+ throw 'Unknown transformation';
}
program.accept(new checks.CheckParentPointers());
« no previous file with comments | « no previous file | pkg/kernel/lib/transformations/closure_conversion.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698