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

Unified Diff: pkg/kernel/lib/target/vm_fasta.dart

Issue 2918923003: Revert "Use backend targets to run Kernel transformations in Fasta" (Closed)
Patch Set: 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 | « pkg/kernel/lib/target/vm.dart ('k') | pkg/kernel/lib/target/vmcc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/target/vm_fasta.dart
diff --git a/pkg/kernel/lib/target/vm_fasta.dart b/pkg/kernel/lib/target/vm_fasta.dart
deleted file mode 100644
index c2495b16bc2e9af1c25f104383e1f5d46a3e2126..0000000000000000000000000000000000000000
--- a/pkg/kernel/lib/target/vm_fasta.dart
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-library kernel.target.vm_fasta;
-
-import '../ast.dart' show Program, Library;
-import '../core_types.dart' show CoreTypes;
-import '../class_hierarchy.dart' show ClassHierarchy;
-
-import '../transformations/mixin_full_resolution.dart' as transformMixins
- show transformLibraries;
-import '../transformations/continuation.dart' as transformAsync
- show transformLibraries;
-import '../transformations/erasure.dart' as tranformErasure
- show transformLibraries;
-
-import 'targets.dart' show TargetFlags;
-import 'vm.dart' as vm_target;
-
-class VmFastaTarget extends vm_target.VmTarget {
- VmFastaTarget(TargetFlags flags) : super(flags);
-
- String get name => "vm_fasta";
-
- void performModularTransformationsOnLibraries(
- CoreTypes coreTypes, ClassHierarchy hierarchy, List<Library> libraries,
- {void logger(String msg)}) {
- transformMixins.transformLibraries(this, coreTypes, hierarchy, libraries);
- logger?.call("Transformed mixin applications");
-
- // TODO(ahe): Don't generate type variables in the first place.
- if (!strongMode) {
- tranformErasure.transformLibraries(coreTypes, libraries);
- logger?.call("Erased type variables in generic methods");
- }
-
- // TODO(kmillikin): Make this run on a per-method basis.
- transformAsync.transformLibraries(coreTypes, libraries);
- logger?.call("Transformed async methods");
- }
-
- void performGlobalTransformations(CoreTypes coreTypes, Program program,
- {void logger(String msg)}) {}
-}
« no previous file with comments | « pkg/kernel/lib/target/vm.dart ('k') | pkg/kernel/lib/target/vmcc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698