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

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

Issue 2989223002: Pass additional options in incremental setup (Closed)
Patch Set: Created 3 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/incremental_kernel_generator.dart
diff --git a/pkg/front_end/lib/incremental_kernel_generator.dart b/pkg/front_end/lib/incremental_kernel_generator.dart
index 290a23029379c66b6073800e35b7360785af646f..9d52c2188454ffd667f934d7f006ece0d1fd35af 100644
--- a/pkg/front_end/lib/incremental_kernel_generator.dart
+++ b/pkg/front_end/lib/incremental_kernel_generator.dart
@@ -99,7 +99,7 @@ abstract class IncrementalKernelGenerator {
static Future<IncrementalKernelGenerator> newInstance(
CompilerOptions options, Uri entryPoint,
{WatchUsedFilesFn watch}) async {
- var processedOptions = new ProcessedOptions(options);
+ var processedOptions = new ProcessedOptions(options, false, [entryPoint]);
scheglov 2017/08/01 20:58:11 If seems that "false" is already the default value
Siggi Cherem (dart-lang) 2017/08/01 21:07:30 Yes, I agree. Will follow up separately
var uriTranslator = await processedOptions.getUriTranslator();
return new IncrementalKernelGeneratorImpl(
processedOptions, uriTranslator, entryPoint,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698