summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-08 13:06:14 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-08 16:06:44 -0800
commit9618b155493c2adb474aedec3492236f030cfc7f (patch)
tree0a478efb056c7356b979e061d214b1caaee0d7d7 /opcode.h
parent1062548aa8a260190f89d970b88ab8ffe0bb35b2 (diff)
downloadperl-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 'opcode.h')
-rw-r--r--opcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode.h b/opcode.h
index e116becabe..ee31779130 100644
--- a/opcode.h
+++ b/opcode.h
@@ -2044,7 +2044,7 @@ EXTCONST U32 PL_opargs[] = {
0x0001141c, /* waitpid */
0x0002941d, /* system */
0x0002941d, /* exec */
- 0x0000245d, /* kill */
+ 0x0000241d, /* kill */
0x0000001c, /* getppid */
0x00009b1c, /* getpgrp */
0x0009941c, /* setpgrp */