Index: pkg/front_end/lib/src/fasta/compile_platform.dart |
diff --git a/pkg/front_end/lib/src/fasta/compile_platform.dart b/pkg/front_end/lib/src/fasta/compile_platform.dart |
index 632248b49a0d402d1f64770f41a33cb865e95694..750d2da3d417c46e5905232aa58d87430669fd4f 100644 |
--- a/pkg/front_end/lib/src/fasta/compile_platform.dart |
+++ b/pkg/front_end/lib/src/fasta/compile_platform.dart |
@@ -24,8 +24,6 @@ import 'ticker.dart' show Ticker; |
import 'translate_uri.dart' show TranslateUri; |
-import 'package:kernel/target/targets.dart' show getTarget, TargetFlags; |
- |
const int iterations = const int.fromEnvironment("iterations", defaultValue: 1); |
Future mainEntryPoint(List<String> arguments) async { |
@@ -73,11 +71,8 @@ Future compilePlatformInternal(CompilerContext c, Ticker ticker, Uri patchedSdk, |
.parse(c.fileSystem, patchedSdk, packages: c.options.packages); |
ticker.logMs("Read packages file"); |
- DillTarget dillTarget = new DillTarget( |
- ticker, |
- uriTranslator, |
- getTarget( |
- c.options.target, new TargetFlags(strongMode: c.options.strongMode))); |
+ DillTarget dillTarget = |
+ new DillTarget(ticker, uriTranslator, c.options.target); |
KernelTarget kernelTarget = |
new KernelTarget(c.fileSystem, dillTarget, uriTranslator, c.uriToSource); |