| Index: dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| index 4e2e8f82214038e1aa05ce4ecbab91a8b7abc853..002e0edba4b9bee0dcf76ece3f4bc9bcdbafadc8 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| @@ -2104,6 +2104,14 @@ class JavaScriptBackend extends Backend {
|
| ? jsAst.prettyPrint(generatedCode[element], compiler)
|
| : null;
|
| }
|
| +
|
| + FunctionElement helperForBadMain() => findHelper('badMain');
|
| +
|
| + FunctionElement helperForMissingMain() => findHelper('missingMain');
|
| +
|
| + FunctionElement helperForMainArity() {
|
| + return findHelper('mainHasTooManyParameters');
|
| + }
|
| }
|
|
|
| class JavaScriptionResolutionCallbacks extends ResolutionCallbacks {
|
|
|