summaryrefslogtreecommitdiffstats
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
commit194e6155211353738bb14ffd1ca9e9662a455b0e (patch)
tree954984c7459d5306b52a653eaece825b315fbe80 /js/src/frontend/Parser.h
parentf4fec66e094281465ce1d143e00b0c9bda4863af (diff)
downloadUXP-194e6155211353738bb14ffd1ca9e9662a455b0e.tar
UXP-194e6155211353738bb14ffd1ca9e9662a455b0e.tar.gz
UXP-194e6155211353738bb14ffd1ca9e9662a455b0e.tar.lz
UXP-194e6155211353738bb14ffd1ca9e9662a455b0e.tar.xz
UXP-194e6155211353738bb14ffd1ca9e9662a455b0e.zip
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);
}