Index: pkg/kernel/tool/dartk.dart |
diff --git a/pkg/kernel/tool/dartk.dart b/pkg/kernel/tool/dartk.dart |
index e42e9f33db638d7a14bf33ff2e145a9bea6c92f3..e47654f1ac5fadb516d45647fc5a4156243297c5 100755 |
--- a/pkg/kernel/tool/dartk.dart |
+++ b/pkg/kernel/tool/dartk.dart |
@@ -409,7 +409,8 @@ Future<CompilerOutcome> batchMain( |
if (target != null && canContinueCompilation) { |
CoreTypes coreTypes = new CoreTypes(program); |
ClassHierarchy hierarchy = new ClosedWorldClassHierarchy(program); |
- target.performModularTransformations(coreTypes, hierarchy, program); |
+ target.performModularTransformationsOnProgram( |
+ coreTypes, hierarchy, program); |
runVerifier(); |
if (options['link']) { |
target.performGlobalTransformations(coreTypes, program); |