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

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

Issue 2993113003: Revert "Switch FE to use the libraries.json format." (Closed)
Patch Set: Created 3 years, 4 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/compiler_options.dart ('k') | pkg/front_end/lib/src/base/libraries_specification.dart » ('j') | 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 93e88ee60ed5a71e80e0a8deb487779be3eef464..9d52c2188454ffd667f934d7f006ece0d1fd35af 100644
--- a/pkg/front_end/lib/incremental_kernel_generator.dart
+++ b/pkg/front_end/lib/incremental_kernel_generator.dart
@@ -6,7 +6,6 @@ import 'dart:async';
import 'package:front_end/src/base/processed_options.dart';
import 'package:front_end/src/incremental_kernel_generator_impl.dart';
-import 'package:front_end/src/fasta/compiler_context.dart';
import 'package:kernel/kernel.dart';
import 'compiler_options.dart';
@@ -101,11 +100,9 @@ abstract class IncrementalKernelGenerator {
CompilerOptions options, Uri entryPoint,
{WatchUsedFilesFn watch}) async {
var processedOptions = new ProcessedOptions(options, false, [entryPoint]);
- return await CompilerContext.runWithOptions(processedOptions, (_) async {
- var uriTranslator = await processedOptions.getUriTranslator();
- return new IncrementalKernelGeneratorImpl(
- processedOptions, uriTranslator, entryPoint,
- watch: watch);
- });
+ var uriTranslator = await processedOptions.getUriTranslator();
+ return new IncrementalKernelGeneratorImpl(
+ processedOptions, uriTranslator, entryPoint,
+ watch: watch);
}
}
« no previous file with comments | « pkg/front_end/lib/compiler_options.dart ('k') | pkg/front_end/lib/src/base/libraries_specification.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698