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

Unified Diff: pkg/front_end/lib/kernel_generator.dart

Issue 2893563003: Rename buildOutline() and separate 'build' and 'writeProgram()'. (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 | « pkg/compiler/lib/src/kernel/fasta_support.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/kernel_generator.dart
diff --git a/pkg/front_end/lib/kernel_generator.dart b/pkg/front_end/lib/kernel_generator.dart
index 3fce2f8ea10cd2337a981ac804207649ca8ba41a..2923532a1891061390fa3f644418a3a2ce3aea43 100644
--- a/pkg/front_end/lib/kernel_generator.dart
+++ b/pkg/front_end/lib/kernel_generator.dart
@@ -62,9 +62,9 @@ Future<Program> kernelForProgram(Uri source, CompilerOptions options) async {
options.fileSystem, dillTarget, uriTranslator, options.strongMode);
kernelTarget.read(source);
- await dillTarget.computeOutline();
- await kernelTarget.computeOutline();
- Program program = await kernelTarget.writeProgram(null);
+ await dillTarget.buildOutlines();
+ await kernelTarget.buildOutlines();
+ Program program = await kernelTarget.buildProgram();
if (kernelTarget.errors.isNotEmpty) {
kernelTarget.errors.forEach((e) => report('$e'));
« no previous file with comments | « pkg/compiler/lib/src/kernel/fasta_support.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