diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 10:56:39 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 10:56:39 +0200 |
commit | 8580bf233e69da042e3d33cad56ca6f42ce441a4 (patch) | |
tree | 2b02b8b12a8104e1ba5c894b4aa864c6de07454c /js/src/frontend/Parser.h | |
parent | 194e6155211353738bb14ffd1ca9e9662a455b0e (diff) | |
download | UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.tar UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.tar.gz UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.tar.lz UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.tar.xz UXP-8580bf233e69da042e3d33cad56ca6f42ce441a4.zip |
Simplify increment/decrement operand checking.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r-- | js/src/frontend/Parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h index 8bffafc42..c50f8e47d 100644 --- a/js/src/frontend/Parser.h +++ b/js/src/frontend/Parser.h @@ -1377,7 +1377,7 @@ class Parser final : private JS::AutoGCRooter, public StrictModeGetter bool reportIfArgumentsEvalTarget(Node nameNode); bool reportIfNotValidSimpleAssignmentTarget(Node target, AssignmentFlavor flavor); - bool checkAndMarkAsIncOperand(Node kid, AssignmentFlavor flavor); + bool checkAndMarkAsIncOperand(Node kid); bool checkStrictAssignment(Node lhs); bool checkStrictBinding(PropertyName* name, TokenPos pos); |