Index: pkg/front_end/tool/fasta_perf.dart |
diff --git a/pkg/front_end/tool/fasta_perf.dart b/pkg/front_end/tool/fasta_perf.dart |
index d8ccbaa4efbdad9b1671acc2ae7cfa71a504cdea..1325cf7e400a349eef9c68d56fe88bd6b9918705 100644 |
--- a/pkg/front_end/tool/fasta_perf.dart |
+++ b/pkg/front_end/tool/fasta_perf.dart |
@@ -22,6 +22,7 @@ import 'package:front_end/src/fasta/translate_uri.dart' show TranslateUri; |
import 'package:front_end/src/fasta/translate_uri.dart'; |
import 'package:front_end/src/fasta/parser/dart_vm_native.dart' |
show skipNativeClause; |
+import 'package:kernel/target/targets.dart' show TargetFlags; |
/// Cumulative total number of chars scanned. |
int inputSize = 0; |
@@ -214,9 +215,10 @@ generateKernel(Uri entryUri, |
var timer = new Stopwatch()..start(); |
final Ticker ticker = new Ticker(); |
- final DillTarget dillTarget = new DillTarget(ticker, uriResolver, "vm"); |
- final KernelTarget kernelTarget = new KernelTarget( |
- PhysicalFileSystem.instance, dillTarget, uriResolver, strongMode); |
+ final DillTarget dillTarget = new DillTarget(ticker, uriResolver, "vm_fasta", |
+ flags: new TargetFlags(strongMode: strongMode)); |
+ final KernelTarget kernelTarget = |
+ new KernelTarget(PhysicalFileSystem.instance, dillTarget, uriResolver); |
var entrypoints = [ |
entryUri, |
// These extra libraries are added to match the same set of libraries |