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

Unified Diff: pkg/kernel/lib/target/vm.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/targets.dart ('k') | pkg/kernel/lib/target/vm_fasta.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/target/vm.dart
diff --git a/pkg/kernel/lib/target/vm.dart b/pkg/kernel/lib/target/vm.dart
index aa943031fe08b16f23934f1cf42efaff724ab890..eae4b7fbc0ffd8ac52d53bcaeaee40060c979afe 100644
--- a/pkg/kernel/lib/target/vm.dart
+++ b/pkg/kernel/lib/target/vm.dart
@@ -56,17 +56,15 @@ class VmTarget extends Target {
ClassHierarchy _hierarchy;
- void performModularTransformationsOnLibraries(
- CoreTypes coreTypes, ClassHierarchy hierarchy, List<Library> libraries,
- {void logger(String msg)}) {
+ void performModularTransformations(
+ CoreTypes coreTypes, ClassHierarchy hierarchy, Program program) {
var mixins = new mix.MixinFullResolution(this, coreTypes, hierarchy)
- ..transform(libraries);
+ ..transform(program.libraries);
_hierarchy = mixins.hierarchy;
}
- void performGlobalTransformations(CoreTypes coreTypes, Program program,
- {void logger(String msg)}) {
+ void performGlobalTransformations(CoreTypes coreTypes, Program program) {
if (strongMode) {
new InsertTypeChecks(coreTypes, _hierarchy).transformProgram(program);
new InsertCovarianceChecks(coreTypes, _hierarchy)
« no previous file with comments | « pkg/kernel/lib/target/targets.dart ('k') | pkg/kernel/lib/target/vm_fasta.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698