summaryrefslogtreecommitdiff
path: root/js/src/frontend/Parser.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:56:39 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:56:39 +0200
commit57de4bfce562b3d370bfbacfa4d52992f0625e8b (patch)
tree2b02b8b12a8104e1ba5c894b4aa864c6de07454c /js/src/frontend/Parser.h
parent4098c1a97a0cfc95b7dc4d53c6adf7a50ace4e68 (diff)
downloaduxp-57de4bfce562b3d370bfbacfa4d52992f0625e8b.tar.gz
Simplify increment/decrement operand checking.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r--js/src/frontend/Parser.h2
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);