| Index: pkg/kernel/lib/target/targets.dart
|
| diff --git a/pkg/kernel/lib/target/targets.dart b/pkg/kernel/lib/target/targets.dart
|
| index 0743b6716185611ca19e60f73c8627896956b09c..a6ea8ae1d3b4626a0a4f0f839c98890c6068c531 100644
|
| --- a/pkg/kernel/lib/target/targets.dart
|
| +++ b/pkg/kernel/lib/target/targets.dart
|
| @@ -4,6 +4,7 @@
|
| library kernel.target.targets;
|
|
|
| import '../ast.dart';
|
| +import '../class_hierarchy.dart';
|
| import '../core_types.dart';
|
| import '../transformations/treeshaker.dart' show ProgramRoot;
|
| import 'flutter.dart';
|
| @@ -71,7 +72,8 @@ abstract class Target {
|
| ///
|
| /// These transformations should not be whole-program transformations. They
|
| /// should expect that the program will contain external libraries.
|
| - void performModularTransformations(CoreTypes coreTypes, Program program);
|
| + void performModularTransformations(
|
| + CoreTypes coreTypes, ClassHierarchy hierarchy, Program program);
|
|
|
| /// Perform target-specific whole-program transformations.
|
| ///
|
| @@ -96,7 +98,8 @@ class NoneTarget extends Target {
|
| bool get strongMode => flags.strongMode;
|
| String get name => 'none';
|
| List<String> get extraRequiredLibraries => <String>[];
|
| - void performModularTransformations(CoreTypes coreTypes, Program program) {}
|
| + void performModularTransformations(
|
| + CoreTypes coreTypes, ClassHierarchy hierarchy, Program program) {}
|
| void performGlobalTransformations(CoreTypes coreTypes, Program program) {}
|
|
|
| @override
|
|
|