summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2017-08-08 12:19:53 +0100
committerDavid Mitchell <davem@iabyn.com>2017-08-08 12:48:03 +0100
commite2e878313e77becb4fe3ad805fdf68208421676f (patch)
tree46f0103df6fa09475d5e28db49925ac6955ccb94 /regen
parent486421582e65540c0f739b83b81b256022ded43a (diff)
downloadperl-e2e878313e77becb4fe3ad805fdf68208421676f.tar.gz
regen/op_private: remove sassign special-casing
Since v5.25.5-46-g1257c08, sassign has been correctly listed in regen/opcodes as a binary op ('2') rather than as a base op, so there's no need to special-case it in regen/op_private any more. This commit makes no functional changes, because since v5.25.5-46-g1257c08, $args2{sassign} was redundantly getting set to a true value twice, which was harmless. Now it only gets set once.
Diffstat (limited to 'regen')
-rw-r--r--regen/op_private3
1 files changed, 0 insertions, 3 deletions
diff --git a/regen/op_private b/regen/op_private
index 0122863dda..753a0bd323 100644
--- a/regen/op_private
+++ b/regen/op_private
@@ -220,9 +220,6 @@ use strict;
qw(vec),
grep !$maxarg{$_} && !$args0{$_} && !$args1{$_},
ops_with_flag('2'), # BINOP
- # this is a binop, but special-cased as a
- # baseop in regen/opcodes
- 'sassign',
);
$args3{$_} = 1 for grep !$maxarg{$_} && !$args0{$_}