diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-12-19 16:05:15 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-12-19 16:30:39 -0800 |
commit | 82334630454b4b4e55257e3bf48f998a8a2814a9 (patch) | |
tree | b81f353fabe8a3000578973d00d833e9905430cc /pp_sort.c | |
parent | 54408af452c3b8791b74227d549ac4a2d660d916 (diff) | |
download | perl-82334630454b4b4e55257e3bf48f998a8a2814a9.tar.gz |
Use GIMME_V in preference to GIMME
GIMME_V is a simpler macro that results in smaller machine code.
GIMME does not distinguish between scalar and void context. The two
instances of GIMME == G_SCALAR that I changed (which used to match
void context too, but no longer do) are in code paths unreachable in
void context, so we don’t need to check for it.
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1476,7 +1476,7 @@ PP(pp_sort) AV* av = NULL; GV *gv; CV *cv = NULL; - I32 gimme = GIMME; + I32 gimme = GIMME_V; OP* const nextop = PL_op->op_next; I32 overloading = 0; bool hasargs = FALSE; |