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

Unified Diff: pkg/front_end/lib/src/incremental_kernel_generator_impl.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/front_end/lib/src/fasta/target.dart ('k') | pkg/front_end/test/fasta/testing/suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
diff --git a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
index 56c83074ee2be92f7028e9e5a06e732cff69fbcc..43c016a0cae0bad16cfeb8a40d1e64bded16e650 100644
--- a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
+++ b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
@@ -173,7 +173,7 @@ class IncrementalKernelGeneratorImpl implements IncrementalKernelGenerator {
.appendLibraries(program, (uri) => libraryUris.contains(uri));
// Compute local scopes.
- await dillTarget.computeOutline();
+ await dillTarget.buildOutlines();
// Compute export scopes.
_computeExportScopes(dillTarget, libraryUriToFile, libraryBuilders);
@@ -203,8 +203,8 @@ class IncrementalKernelGeneratorImpl implements IncrementalKernelGenerator {
// Compile the cycle libraries into a new full program.
Program program = await _logger
.runAsync('Compile ${cycle.libraries.length} libraries', () async {
- await kernelTarget.computeOutline(nameRoot: nameRoot);
- return await kernelTarget.writeProgram(null);
+ await kernelTarget.buildOutlines(nameRoot: nameRoot);
+ return await kernelTarget.buildProgram();
});
// Add newly compiled libraries into DILL.
« no previous file with comments | « pkg/front_end/lib/src/fasta/target.dart ('k') | pkg/front_end/test/fasta/testing/suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698