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

Unified Diff: pkg/kernel/lib/transformations/erasure.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/vmreify.dart ('k') | pkg/kernel/test/baseline_tester.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/transformations/erasure.dart
diff --git a/pkg/kernel/lib/transformations/erasure.dart b/pkg/kernel/lib/transformations/erasure.dart
index 7923928edfa41ea9dbc8a0d3995b2b3c67f092f4..d2cb413e9e994b17ccca167f626badcb1cb39fe5 100644
--- a/pkg/kernel/lib/transformations/erasure.dart
+++ b/pkg/kernel/lib/transformations/erasure.dart
@@ -5,18 +5,6 @@ library kernel.transformations.erasure;
import '../ast.dart';
import '../type_algebra.dart';
-import '../core_types.dart';
-
-Program transformProgram(CoreTypes coreTypes, Program program) {
- program.accept(new Erasure());
-}
-
-void transformLibraries(CoreTypes coreTypes, List<Library> libraries) {
- Erasure erasure = new Erasure();
- for (Library library in libraries) {
- library.accept(erasure);
- }
-}
/// This pass is a temporary measure to run strong mode code in the VM, which
/// does not yet have the necessary runtime support.
« no previous file with comments | « pkg/kernel/lib/target/vmreify.dart ('k') | pkg/kernel/test/baseline_tester.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698