diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-11-08 13:05:28 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-11-08 16:06:44 -0800 |
commit | 1062548aa8a260190f89d970b88ab8ffe0bb35b2 (patch) | |
tree | 02a44ed9145c3a8473d2e7c920b966e6e640e7c6 /opcode.h | |
parent | fc5ae97dc1cda30f5602828e5ee550c298f86a3f (diff) | |
download | perl-1062548aa8a260190f89d970b88ab8ffe0bb35b2.tar.gz |
exec 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.
When exec fails, it 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2043,7 +2043,7 @@ EXTCONST U32 PL_opargs[] = { 0x0000001c, /* wait */ 0x0001141c, /* waitpid */ 0x0002941d, /* system */ - 0x0002945d, /* exec */ + 0x0002941d, /* exec */ 0x0000245d, /* kill */ 0x0000001c, /* getppid */ 0x00009b1c, /* getpgrp */ |