diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-12-27 22:35:20 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-12-27 22:35:33 -0800 |
commit | ca2770d807cee660972b886c40b0aa841d784b64 (patch) | |
tree | e7070133fa9d6ed3879f41c731866576e6754ec2 /pp_sys.c | |
parent | d19fe907288ac4a936ca7052f12f200dcc8ebab7 (diff) | |
download | perl-ca2770d807cee660972b886c40b0aa841d784b64.tar.gz |
pp_sys.c:pp_gmtime: Remove redundant EXTEND_MORTAL
The purpose of EXTEND_MORTAL is to extend the mortals stack only
once before pushing multiple items. Here we are just going to push
one item, so extending it gains us nothing, as sv_2mortal is going
to do that anyway.
Moreover, we will not even be using the mortals stack if there has
been an error.
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -4649,7 +4649,6 @@ PP(pp_gmtime) if (GIMME_V != G_ARRAY) { /* scalar context */ EXTEND(SP, 1); - EXTEND_MORTAL(1); if (err == NULL) RETPUSHUNDEF; else { |