| 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 6aca672e1328329166d066dc51424cdb0bbd9dcd..c0c3d0a5fab4d8e0093232a33b46f80932d8a6b7 100644
|
| --- a/pkg/compiler/lib/src/common/backend_api.dart
|
| +++ b/pkg/compiler/lib/src/common/backend_api.dart
|
| @@ -217,10 +217,6 @@ abstract class Backend extends Target {
|
| {bool forResolution}) =>
|
| const WorldImpact();
|
|
|
| - /// This method is called immediately after the [LibraryElement] [library] has
|
| - /// been created.
|
| - void onLibraryCreated(LibraryElement library) {}
|
| -
|
| /// This method is called immediately after the [library] and its parts have
|
| /// been scanned.
|
| Future onLibraryScanned(LibraryElement library, LibraryLoader loader) {
|
| @@ -319,11 +315,11 @@ abstract class Backend extends Target {
|
| // Does this element belong in the output
|
| bool shouldOutput(Element element) => true;
|
|
|
| - FunctionElement helperForBadMain() => null;
|
| + MethodElement helperForBadMain() => null;
|
|
|
| - FunctionElement helperForMissingMain() => null;
|
| + MethodElement helperForMissingMain() => null;
|
|
|
| - FunctionElement helperForMainArity() => null;
|
| + MethodElement helperForMainArity() => null;
|
|
|
| /// Computes the [WorldImpact] of calling [mainMethod] as the entry point.
|
| WorldImpact computeMainImpact(MethodElement mainMethod,
|
|
|