diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-10-18 10:23:26 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-10-18 12:49:27 -0700 |
commit | 01762542fcff2d3eb5e0fd287f28e872a0cfd5a4 (patch) | |
tree | 5ff1efca76f6b548b3561301aa34673a55b428e2 /opcode.h | |
parent | 28482d6cad995d14acdad04e18ee2d4ee32c6a18 (diff) | |
download | perl-01762542fcff2d3eb5e0fd287f28e872a0cfd5a4.tar.gz |
Use srefgen for anoncode
srefgen is faster than refgen, since it doesn’t have to loop through
the arguments (there is only one) and there is no pushmark to execute.
OA_RETSCALAR causes scalar context to be applied to anoncode ops, but
it always returns one item anyway, so that causes no problems.
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1758,7 +1758,7 @@ EXTCONST U32 PL_opargs[] = { 0x00000144, /* rv2sv */ 0x00000104, /* av2arylen */ 0x00000140, /* rv2cv */ - 0x00000600, /* anoncode */ + 0x00000604, /* anoncode */ 0x00001b04, /* prototype */ 0x00002101, /* refgen */ 0x00001106, /* srefgen */ |