summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/Parser.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 06:36:09 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 06:36:09 +0200
commit386cc5ee17b4e144fdffda1742031aa0cba7373a (patch)
tree1098d2a8ab6c1622178dff99c6e069e69dce45fc /js/src/frontend/Parser.h
parent239003468d0617ca34b5e78627f014207b4e63ee (diff)
downloadUXP-386cc5ee17b4e144fdffda1742031aa0cba7373a.tar
UXP-386cc5ee17b4e144fdffda1742031aa0cba7373a.tar.gz
UXP-386cc5ee17b4e144fdffda1742031aa0cba7373a.tar.lz
UXP-386cc5ee17b4e144fdffda1742031aa0cba7373a.tar.xz
UXP-386cc5ee17b4e144fdffda1742031aa0cba7373a.zip
Inline Parser::checkFunctionDefinition into its sole caller.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r--js/src/frontend/Parser.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h
index dc9c16adb..13580846b 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,