diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-09 16:25:42 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:36 -0400 |
commit | fcdc8929f376207be3594f809adda3c65d487101 (patch) | |
tree | cb4b558218f0e68bd551da941e471c437d1b95d1 /js/src/frontend/Parser.h | |
parent | 05c9c752a34ce4c9d246b63e2fbb46eaa946f8b6 (diff) | |
download | UXP-fcdc8929f376207be3594f809adda3c65d487101.tar UXP-fcdc8929f376207be3594f809adda3c65d487101.tar.gz UXP-fcdc8929f376207be3594f809adda3c65d487101.tar.lz UXP-fcdc8929f376207be3594f809adda3c65d487101.tar.xz UXP-fcdc8929f376207be3594f809adda3c65d487101.zip |
1336783 - Part 2: Remove Parser::checkStrictBinding.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r-- | js/src/frontend/Parser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h index 9ec862d92..d53a64eeb 100644 --- a/js/src/frontend/Parser.h +++ b/js/src/frontend/Parser.h @@ -1335,6 +1335,10 @@ class Parser final : public ParserBase, private JS::AutoGCRooter uint32_t offset, YieldHandling yieldHandling); + PropertyName* checkBindingIdentifier(PropertyName* ident, + uint32_t offset, + YieldHandling yieldHandling); + PropertyName* labelOrIdentifierReference(YieldHandling yieldHandling); PropertyName* labelIdentifier(YieldHandling yieldHandling) { @@ -1404,7 +1408,6 @@ class Parser final : public ParserBase, private JS::AutoGCRooter private: bool checkIncDecOperand(Node operand, uint32_t operandOffset); bool checkStrictAssignment(Node lhs); - bool checkStrictBinding(PropertyName* name, TokenPos pos); bool hasValidSimpleStrictParameterNames(); |