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 246c2bbf86495c507dc69dbf5f0feeac0f096372..5b992de3cf55aa4875bef8e06c05ba4097cdc9d1 100644 |
--- a/pkg/front_end/tool/fasta_perf.dart |
+++ b/pkg/front_end/tool/fasta_perf.dart |
@@ -9,7 +9,6 @@ import 'dart:async'; |
import 'dart:io'; |
import 'package:front_end/src/fasta/analyzer/ast_builder.dart'; |
-import 'package:front_end/src/fasta/ast_kind.dart' show AstKind; |
import 'package:front_end/src/fasta/dill/dill_target.dart' show DillTarget; |
import 'package:front_end/src/fasta/kernel/kernel_target.dart' |
show KernelTarget; |
@@ -276,7 +275,7 @@ generateKernel(Uri entryUri, {bool compileSdk: true}) async { |
} |
await dillTarget.writeOutline(null); |
var program = await kernelTarget.writeOutline(null); |
- program = await kernelTarget.writeProgram(null, AstKind.Kernel); |
+ program = await kernelTarget.writeProgram(null); |
if (kernelTarget.errors.isNotEmpty) { |
throw kernelTarget.errors.first; |
} |