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 2a663e3ab9fe8afdfddb566b7fc3a71e72aa2827..074bde4eb2cda30308f6a8b635ecb730c73b4599 100644 |
--- a/pkg/front_end/tool/fasta_perf.dart |
+++ b/pkg/front_end/tool/fasta_perf.dart |
@@ -236,7 +236,8 @@ class _PartialAstBuilder extends AstBuilder { |
// Invoke the fasta kernel generator for the program starting in [entryUri] |
// TODO(sigmund): update to uyse the frontend api once fasta is beind hit. |
-generateKernel(Uri entryUri, {bool compileSdk: true}) async { |
+generateKernel(Uri entryUri, |
+ {bool compileSdk: true, bool strongMode: false}) async { |
// TODO(sigmund): this is here only to compute the input size, |
// we should extract the input size from the frontend instead. |
scanReachableFiles(entryUri); |
@@ -244,7 +245,8 @@ generateKernel(Uri entryUri, {bool compileSdk: true}) async { |
var timer = new Stopwatch()..start(); |
final Ticker ticker = new Ticker(); |
final DillTarget dillTarget = new DillTarget(ticker, uriResolver); |
- final KernelTarget kernelTarget = new KernelTarget(dillTarget, uriResolver); |
+ final KernelTarget kernelTarget = |
+ new KernelTarget(dillTarget, uriResolver, strongMode); |
var entrypoints = [ |
entryUri, |
// These extra libraries are added to match the same set of libraries |