| Index: pkg/compiler/lib/src/frontend_strategy.dart
|
| diff --git a/pkg/compiler/lib/src/frontend_strategy.dart b/pkg/compiler/lib/src/frontend_strategy.dart
|
| index b52cc098f43aa68b9a172ed0ba025ad38f56c7b7..026be2c8027ef11d3f3c9c71ff678d0dea280013 100644
|
| --- a/pkg/compiler/lib/src/frontend_strategy.dart
|
| +++ b/pkg/compiler/lib/src/frontend_strategy.dart
|
| @@ -24,6 +24,7 @@ import 'serialization/task.dart';
|
| import 'patch_parser.dart';
|
| import 'resolved_uri_translator.dart';
|
| import 'universe/world_builder.dart';
|
| +import 'universe/world_impact.dart';
|
|
|
| /// Strategy pattern that defines the connection between the input format and
|
| /// the resolved element model.
|
| @@ -48,7 +49,7 @@ abstract class FrontEndStrategy {
|
| AnnotationProcessor get annotationProcesser;
|
|
|
| /// Creates the [NativeClassFinder] for this strategy.
|
| - NativeClassFinder createNativeClassResolver(NativeBasicData nativeBasicData);
|
| + NativeClassFinder createNativeClassFinder(NativeBasicData nativeBasicData);
|
|
|
| /// Creates the [NoSuchMethodResolver] corresponding the resolved model of
|
| /// this strategy.
|
| @@ -65,6 +66,11 @@ abstract class FrontEndStrategy {
|
| WorkItemBuilder createResolutionWorkItemBuilder(
|
| ImpactTransformer impactTransformer);
|
|
|
| + /// Computes the main function from [mainLibrary] adding additional world
|
| + /// impact to [impactBuilder].
|
| + FunctionEntity computeMain(
|
| + LibraryEntity mainLibrary, WorldImpactBuilder impactBuilder);
|
| +
|
| // TODO(johnniwinther): Reuse the following classes between strategies:
|
|
|
| /// Creates the [CustomElementsResolutionAnalysis] for this strategy.
|
|
|