Index: pkg/kernel/lib/target/vm.dart |
diff --git a/pkg/kernel/lib/target/vm.dart b/pkg/kernel/lib/target/vm.dart |
index eae4b7fbc0ffd8ac52d53bcaeaee40060c979afe..aa943031fe08b16f23934f1cf42efaff724ab890 100644 |
--- a/pkg/kernel/lib/target/vm.dart |
+++ b/pkg/kernel/lib/target/vm.dart |
@@ -56,15 +56,17 @@ class VmTarget extends Target { |
ClassHierarchy _hierarchy; |
- void performModularTransformations( |
- CoreTypes coreTypes, ClassHierarchy hierarchy, Program program) { |
+ void performModularTransformationsOnLibraries( |
+ CoreTypes coreTypes, ClassHierarchy hierarchy, List<Library> libraries, |
+ {void logger(String msg)}) { |
var mixins = new mix.MixinFullResolution(this, coreTypes, hierarchy) |
- ..transform(program.libraries); |
+ ..transform(libraries); |
_hierarchy = mixins.hierarchy; |
} |
- void performGlobalTransformations(CoreTypes coreTypes, Program program) { |
+ void performGlobalTransformations(CoreTypes coreTypes, Program program, |
+ {void logger(String msg)}) { |
if (strongMode) { |
new InsertTypeChecks(coreTypes, _hierarchy).transformProgram(program); |
new InsertCovarianceChecks(coreTypes, _hierarchy) |