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) |