| Index: pkg/compiler/lib/src/common/backend_api.dart
|
| diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
|
| index ff49bcc14e03f2940696f79dbbb5feaf189ea33a..d2fa5ec96cc6139b48bad64caf247adb783a6ad7 100644
|
| --- a/pkg/compiler/lib/src/common/backend_api.dart
|
| +++ b/pkg/compiler/lib/src/common/backend_api.dart
|
| @@ -60,6 +60,7 @@ import '../tree/tree.dart' show
|
| import '../universe/call_structure.dart' show
|
| CallStructure;
|
| import '../universe/world_impact.dart' show
|
| + ImpactStrategy,
|
| WorldImpact;
|
|
|
| import 'codegen.dart' show
|
| @@ -424,6 +425,13 @@ abstract class Backend {
|
| ///
|
| /// Returns null if there is none.
|
| Uri resolvePatchUri(String libraryName, Uri plaformConfigUri);
|
| +
|
| + /// Creates an impact strategy to use for compilation.
|
| + ImpactStrategy createImpactStrategy(
|
| + {bool supportDeferredLoad: true,
|
| + bool supportDumpInfo: true}) {
|
| + return const ImpactStrategy();
|
| + }
|
| }
|
|
|
| /// Interface for resolving calls to foreign functions.
|
|
|