This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_ctl.c: s/newsp/oldsp/g
authorDavid Mitchell <davem@iabyn.com>
Thu, 17 Dec 2015 12:37:17 +0000 (12:37 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 09:18:34 +0000 (09:18 +0000)
commitf5ddd604ad6e213c7eb6419c26c1779cfedba2a2
treeac7249785e7685d69253a7aa07ed4637c0b8f663
parent75bc488d4e88019e591cb7483510cbd02ac47320
pp_ctl.c: s/newsp/oldsp/g

There are various pp_leavefoo() functions that have similar code along the
lines of

    SV **newsp;
    newsp = PL_stack_base + cx->blk_oldsp;

Rename all these vars to 'oldsp' to reduce the cognitive dissonance.
The name 'newsp' was a hangover from when POPBLOCK used to implicitly
set a var called 'newsp.
pp_ctl.c