| 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 b61309357f7d5fdea64f113f8f64b38437cdc86a..2bb7001798d1f93dba50e4768471892cea45ef41 100644
|
| --- a/pkg/compiler/lib/src/common/backend_api.dart
|
| +++ b/pkg/compiler/lib/src/common/backend_api.dart
|
| @@ -17,7 +17,7 @@ import '../constants/expressions.dart' show ConstantExpression;
|
| import '../constants/values.dart' show ConstantValue;
|
| import '../dart_types.dart' show DartType, InterfaceType;
|
| import '../elements/elements.dart'
|
| - show ClassElement, Element, FunctionElement, LibraryElement;
|
| + show ClassElement, Element, FunctionElement, MethodElement, LibraryElement;
|
| import '../enqueue.dart' show Enqueuer, EnqueueTask, ResolutionEnqueuer;
|
| import '../io/code_output.dart' show CodeBuffer;
|
| import '../io/source_information.dart' show SourceInformationStrategy;
|
| @@ -313,7 +313,8 @@ abstract class Backend extends Target {
|
|
|
| void forgetElement(Element element) {}
|
|
|
| - void registerMainHasArguments(Enqueuer enqueuer) {}
|
| + /// Computes the [WorldImpact] of calling [mainMethod] as the entry point.
|
| + WorldImpact computeMainImpact(Enqueuer enqueuer, MethodElement mainMethod) {}
|
|
|
| /// Returns the location of the patch-file associated with [libraryName]
|
| /// resolved from [plaformConfigUri].
|
|
|