diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-01-04 23:16:21 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2015-01-05 06:30:32 -0800 |
commit | 33de0f79097a068801b9c5ffeb855e0b988703f6 (patch) | |
tree | 5e73179707fb0c41660b14b086c86e2f91d9840e /regen | |
parent | 90207ba1bd77fb10e2c39594d954b43a9e8ee948 (diff) | |
download | perl-33de0f79097a068801b9c5ffeb855e0b988703f6.tar.gz |
complement can have OPpTARGET_MY
It always reads its argument out the outset and always returns its
target, so there is no reason its target cannot be a lexical. (The
OPpTARGET_MY optimisation makes $lexical = <some op> have the op
write directly to the lexical; the assignment gets optimised away.)
Diffstat (limited to 'regen')
-rw-r--r-- | regen/opcodes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/opcodes b/regen/opcodes index 11df1448bf..f585cd2727 100644 --- a/regen/opcodes +++ b/regen/opcodes @@ -169,7 +169,7 @@ bit_or bitwise or (|) ck_bitop fst2 S S negate negation (-) ck_null Ifst1 S i_negate integer negation (-) ck_null ifst1 S not not ck_null ifs1 S -complement 1's complement (~) ck_bitop fst1 S +complement 1's complement (~) ck_bitop fsT1 S smartmatch smart match ck_smartmatch s2 |