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

Unified Diff: pkg/front_end/lib/src/fasta/bin/run.dart

Issue 2723113002: Consolidate analyzer dependencies. (Closed)
Patch Set: Remove new dependency on AsyncMarker. Created 3 years, 10 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 | « pkg/front_end/lib/src/fasta/bin/kompile.dart ('k') | pkg/front_end/lib/src/fasta/compile_platform.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/bin/run.dart
diff --git a/pkg/front_end/lib/src/fasta/bin/run.dart b/pkg/front_end/lib/src/fasta/bin/run.dart
index d48cb220df761faa744108efdfbc989426b1e2de..e9da76922eebb6a51552ec7cbd7b41dccd263478 100644
--- a/pkg/front_end/lib/src/fasta/bin/run.dart
+++ b/pkg/front_end/lib/src/fasta/bin/run.dart
@@ -4,13 +4,11 @@
import 'dart:io' show exit, exitCode;
-import '../ast_kind.dart' show AstKind;
-
import '../compiler_command_line.dart' show CompilerCommandLine;
import '../compiler_context.dart' show CompilerContext;
-import '../outline.dart' show doCompile;
+import '../outline.dart' show CompileTask;
import '../errors.dart' show InputError;
@@ -29,8 +27,9 @@ main(List<String> arguments) async {
print("\n");
}
try {
- uri = await doCompile(
- c, new Ticker(isVerbose: c.options.verbose), AstKind.Kernel);
+ CompileTask task =
+ new CompileTask(c, new Ticker(isVerbose: c.options.verbose));
+ uri = await task.compile();
} on InputError catch (e) {
print(e.format());
exit(1);
« no previous file with comments | « pkg/front_end/lib/src/fasta/bin/kompile.dart ('k') | pkg/front_end/lib/src/fasta/compile_platform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698