diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-11-08 10:41:23 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-11-08 11:45:02 -0800 |
commit | 85f22e05efca6c0fbc035b09cb5f0e6e1a4ca717 (patch) | |
tree | 850a3c8dba948c33ee2680eaa1ae96fabebd6e33 /taint.c | |
parent | 9e319cc4fd53e7fda8d24a3e32cedcd89cb2f66c (diff) | |
download | perl-85f22e05efca6c0fbc035b09cb5f0e6e1a4ca717.tar.gz |
Remove OA_DANGEROUS from non-integer postdec/inc
OA_DANGEROUS indicates that temporary copies may need to be made in
list assignment, to handle things like:
($a, $b) = ($b, $a);
In other words, an op type is flagged with OA_DANGEROUS if its return
values could occur elsewhere on the stack.
While pp_postinc may return a lexical scalar, that only happens when
the OPpTARGET_MY optimisation is happening; and aassign_common_vars in
op.c checks specifically for that.
Otherwise, it only returns a mortal or target, so it is not
OA_DANGEROUS.
Diffstat (limited to 'taint.c')
0 files changed, 0 insertions, 0 deletions