Index: pkg/front_end/lib/src/fasta/dill/dill_target.dart |
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_target.dart b/pkg/front_end/lib/src/fasta/dill/dill_target.dart |
index 8906c3c981ec6cd95a4ced2ad089b50a812557c6..0333fbf176505802484dcbe963d5941f593432da 100644 |
--- a/pkg/front_end/lib/src/fasta/dill/dill_target.dart |
+++ b/pkg/front_end/lib/src/fasta/dill/dill_target.dart |
@@ -8,7 +8,7 @@ import 'dart:async' show Future; |
import 'package:kernel/ast.dart' show Class; |
-import 'package:kernel/target/targets.dart' show getTarget, TargetFlags; |
+import 'package:kernel/target/targets.dart' show Target; |
import '../errors.dart' show internalError; |
import '../kernel/kernel_builder.dart' show ClassBuilder; |
@@ -22,11 +22,8 @@ class DillTarget extends TargetImplementation { |
bool isLoaded = false; |
DillLoader loader; |
- DillTarget( |
- Ticker ticker, TranslateUri uriTranslator, String backendTargetName, |
- {TargetFlags flags}) |
- : super(ticker, uriTranslator, |
- getTarget(backendTargetName, flags ?? new TargetFlags())) { |
+ DillTarget(Ticker ticker, TranslateUri uriTranslator, Target backendTarget) |
+ : super(ticker, uriTranslator, backendTarget) { |
loader = new DillLoader(this); |
} |