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

Unified Diff: pkg/front_end/lib/kernel_generator.dart

Issue 2918623004: Use backend targets to run Kernel transformations in Fasta (Closed)
Patch Set: Adjust to the recent changes in master Created 3 years, 7 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 | « no previous file | pkg/front_end/lib/src/fasta/compiler_command_line.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/kernel_generator.dart
diff --git a/pkg/front_end/lib/kernel_generator.dart b/pkg/front_end/lib/kernel_generator.dart
index eec59026300a31c26820e2466f6114eaa1247ada..8b06eed933dda2ba6caf3a36493207640670fc60 100644
--- a/pkg/front_end/lib/kernel_generator.dart
+++ b/pkg/front_end/lib/kernel_generator.dart
@@ -53,7 +53,7 @@ Future<Program> kernelForProgram(Uri source, CompilerOptions options) async {
TranslateUri uriTranslator = await pOptions.getUriTranslator();
var dillTarget =
- new DillTarget(new Ticker(isVerbose: false), uriTranslator, "vm");
+ new DillTarget(new Ticker(isVerbose: false), uriTranslator, "vm_fasta");
var summary = await pOptions.sdkSummaryProgram;
if (summary != null) {
dillTarget.loader.appendLibraries(summary);
@@ -149,7 +149,7 @@ Future<Program> kernelForBuildUnit(
TranslateUri uriTranslator = await pOptions.getUriTranslator();
var dillTarget =
- new DillTarget(new Ticker(isVerbose: false), uriTranslator, "vm");
+ new DillTarget(new Ticker(isVerbose: false), uriTranslator, "vm_fasta");
var summary = await pOptions.sdkSummaryProgram;
if (summary != null) {
dillTarget.loader.appendLibraries(summary);
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/compiler_command_line.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698