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

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

Issue 2885923002: Rename Target.writeOutline() into computeOutline(), add separate KernelTarget.writeOutline(). (Closed)
Patch Set: Created 3 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/front_end/lib/kernel_generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/fasta_support.dart
diff --git a/pkg/compiler/lib/src/kernel/fasta_support.dart b/pkg/compiler/lib/src/kernel/fasta_support.dart
index 2f09c85bfd159a1a6bb7911492cf36d8ee4256d2..672b34562c7f9fdff7b57b85e2e88fb0b31d0b62 100644
--- a/pkg/compiler/lib/src/kernel/fasta_support.dart
+++ b/pkg/compiler/lib/src/kernel/fasta_support.dart
@@ -45,7 +45,8 @@ Future compilePlatform(Uri patchedSdk, Uri fullOutput,
new KernelTargetForDart2js(dillTarget, uriTranslator, false);
kernelTarget.read(Uri.parse("dart:core"));
- await dillTarget.writeOutline(null);
+ await dillTarget.computeOutline();
+ await kernelTarget.computeOutline();
await kernelTarget.writeOutline(outlineOutput);
if (exitCode != 0) return null;
« no previous file with comments | « no previous file | pkg/front_end/lib/kernel_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698