This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make PL_tmps_floor restore consistent
authorDavid Mitchell <davem@iabyn.com>
Mon, 12 Oct 2015 11:02:05 +0000 (12:02 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:42 +0000 (08:59 +0000)
commitc7764d57491b2cc21ae721b2de1e960a792ccc93
tree808be3ad92f54ccbab89b82b6b092eb6f90233f6
parent0663a8f8f913bf74e0120db791841537f2f81956
make PL_tmps_floor restore consistent

On scope exit this is done:

    PL_tmps_floor = cx->cx_u.cx_blk.blku_old_tmpsfloor;

This is mostly contained within the POPFOO macros; for those,
make it consistently the last entry in the macro. POPEVAL
didn't include this line; move it into the macro and out of the
various places where it's done explicitly.

This will allow us to move it into a revamped POPBLOCK macro shortly.
cop.h
pp_ctl.c