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 | 57de4bfce562b3d370bfbacfa4d52992f0625e8b (patch) | |
tree | 2b02b8b12a8104e1ba5c894b4aa864c6de07454c /js/src/frontend/Parser.h | |
parent | 4098c1a97a0cfc95b7dc4d53c6adf7a50ace4e68 (diff) | |
download | uxp-57de4bfce562b3d370bfbacfa4d52992f0625e8b.tar.gz |
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 8bffafc42a..c50f8e47de 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); |