diff options
author | David Mitchell <davem@iabyn.com> | 2016-01-18 13:09:35 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-02-03 09:19:21 +0000 |
commit | 5d9c1c9a43344201f98b05561e204abbf0eb6acf (patch) | |
tree | 83db6dd4892defc5500e8756c5eea5b9d460a8a0 /pp_hot.c | |
parent | 977d0c81564ba79d4e52d16231eefc5f5beb5a45 (diff) | |
download | perl-5d9c1c9a43344201f98b05561e204abbf0eb6acf.tar.gz |
leave_adjust_stacks() fix some code comments
One comment was obsolete; the other referred to the wrong pp function
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3405,8 +3405,6 @@ Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int pass) EXTEND_MORTAL(nargs); /* one big extend for worst-case scenario */ tmps_basep = PL_tmps_stack + tmps_base; - /* whether any SVs have have SvTEMP temporarily turned off, - * indicating that they need saving below the cut */ /* process each return arg */ @@ -3433,7 +3431,7 @@ Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int pass) * 1) there is pp code similar to pp_substr that is * returning a PADTMP instead of a mortal, and probably * needs fixing, or - * 2) pp_leavesub is making unwarranted assumptions + * 2) pp_leavesublv is making unwarranted assumptions * about always croaking on a PADTMP */ if (SvPADTMP(sv) && SvSMAGICAL(sv)) { |