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

Unified Diff: pkg/front_end/tool/fasta_perf.dart

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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/testcases/void-methods.dart.strong.expect ('k') | pkg/kernel/testcases/input/DeltaBlue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « pkg/front_end/testcases/void-methods.dart.strong.expect ('k') | pkg/kernel/testcases/input/DeltaBlue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698