summaryrefslogtreecommitdiff
path: root/js/src/frontend/Parser.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:55:02 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:55:02 +0200
commit689ca4b54b69facd464e58231f0f610d11718f87 (patch)
tree954984c7459d5306b52a653eaece825b315fbe80 /js/src/frontend/Parser.h
parenta70a43c8bdbe2c0cee24674553a057a00449ec0c (diff)
downloadaura-central-689ca4b54b69facd464e58231f0f610d11718f87.tar.gz
Inline Parser::checkAssignmentToCall 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 70d382501..8bffafc42 100644
--- a/js/src/frontend/Parser.h
+++ b/js/src/frontend/Parser.h
@@ -1432,8 +1432,6 @@ class Parser final : private JS::AutoGCRooter, public StrictModeGetter
bool checkDestructuringObject(Node objectPattern, mozilla::Maybe<DeclarationKind> maybeDecl);
bool checkDestructuringName(Node expr, mozilla::Maybe<DeclarationKind> maybeDecl);
- bool checkAssignmentToCall(Node node, unsigned errnum);
-
Node newNumber(const Token& tok) {
return handler.newNumber(tok.number(), tok.decimalPoint(), tok.pos);
}