diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-11-08 13:06:14 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-11-08 16:06:44 -0800 |
commit | 9618b155493c2adb474aedec3492236f030cfc7f (patch) | |
tree | 0a478efb056c7356b979e061d214b1caaee0d7d7 /regen/opcodes | |
parent | 1062548aa8a260190f89d970b88ab8ffe0bb35b2 (diff) | |
download | perl-9618b155493c2adb474aedec3492236f030cfc7f.tar.gz |
kill is not OA_DANGEROUS
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.
kill only ever returns a target unused elsewhere, so it does not
necessitate temp copies in list assignment.
Diffstat (limited to 'regen/opcodes')
-rw-r--r-- | regen/opcodes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/opcodes b/regen/opcodes index ef418a5636..2237f03c3f 100644 --- a/regen/opcodes +++ b/regen/opcodes @@ -443,7 +443,7 @@ wait wait ck_null isT0 waitpid waitpid ck_fun isT@ S S system system ck_exec imsT@ S? L exec exec ck_exec imsT@ S? L -kill kill ck_fun dimsT@ L +kill kill ck_fun imsT@ L getppid getppid ck_null isT0 getpgrp getpgrp ck_fun isT% S? setpgrp setpgrp ck_fun isT@ S? S? |