diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 06:36:09 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 06:36:09 +0200 |
commit | f923d0949e02c5d57536856f3108cf86b47c98e4 (patch) | |
tree | 1098d2a8ab6c1622178dff99c6e069e69dce45fc /js/src/frontend/Parser.h | |
parent | 261769e491b44cd57dc41fe3c81c5bf97ad4500f (diff) | |
download | uxp-f923d0949e02c5d57536856f3108cf86b47c98e4.tar.gz |
Inline Parser::checkFunctionDefinition into its sole caller.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r-- | js/src/frontend/Parser.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h index dc9c16adbc..13580846b8 100644 --- a/js/src/frontend/Parser.h +++ b/js/src/frontend/Parser.h @@ -1349,8 +1349,6 @@ class Parser final : private JS::AutoGCRooter, public StrictModeGetter Node newDotGeneratorName(); bool declareDotGeneratorName(); - bool checkFunctionDefinition(HandlePropertyName funName, Node pn, - GeneratorKind generatorKind, bool* tryAnnexB); bool skipLazyInnerFunction(Node pn, uint32_t preludeStart, FunctionSyntaxKind kind, bool tryAnnexB); bool innerFunction(Node pn, ParseContext* outerpc, HandleFunction fun, uint32_t preludeStart, |