diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 04:22:27 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 04:22:27 +0200 |
commit | 96899aa847ab7495e3b7baaa413cf50a5eaaffff (patch) | |
tree | 33a9beed5f0769d3e50a1d382f65927d26707fcb /js/src/frontend/Parser.h | |
parent | dcf64bd2ffd24d1c0d046af810c3270656081663 (diff) | |
download | UXP-96899aa847ab7495e3b7baaa413cf50a5eaaffff.tar UXP-96899aa847ab7495e3b7baaa413cf50a5eaaffff.tar.gz UXP-96899aa847ab7495e3b7baaa413cf50a5eaaffff.tar.lz UXP-96899aa847ab7495e3b7baaa413cf50a5eaaffff.tar.xz UXP-96899aa847ab7495e3b7baaa413cf50a5eaaffff.zip |
Move part of Parser::functionDefinition into callers.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r-- | js/src/frontend/Parser.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h index c8914a2d7..3bfb4ae31 100644 --- a/js/src/frontend/Parser.h +++ b/js/src/frontend/Parser.h @@ -1259,11 +1259,10 @@ class Parser final : private JS::AutoGCRooter, public StrictModeGetter bool functionArguments(YieldHandling yieldHandling, FunctionSyntaxKind kind, Node funcpn); - Node functionDefinition(uint32_t preludeStart, + Node functionDefinition(uint32_t preludeStart, Node pn, InHandling inHandling, YieldHandling yieldHandling, HandleAtom name, FunctionSyntaxKind kind, - GeneratorKind generatorKind, FunctionAsyncKind asyncKind, - InvokedPrediction invoked = PredictUninvoked); + GeneratorKind generatorKind, FunctionAsyncKind asyncKind); // Parse a function body. Pass StatementListBody if the body is a list of // statements; pass ExpressionBody if the body is a single expression. |