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 3015e0b028d5443a81075eccc0172ed9fbef9b2c..c7658451370fe80ae9ccfb97155f98f38b9c249b 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
@@ -2105,6 +2105,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 { |