This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
move CX_LEAVE_SCOPE into POPEVAL
authorDavid Mitchell <davem@iabyn.com>
Sat, 10 Oct 2015 22:01:55 +0000 (23:01 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:41 +0000 (08:59 +0000)
commit03e489bcdcb26b30f46b618f9ffe9e97d6ef7d7c
tree9948d6f62d01c89d4647e1e0cbc9f20434f50ec6
parentdfe0f39bc171d865e84f3c67b96f42ecd95ac752
move CX_LEAVE_SCOPE into POPEVAL

All the other POPFOO types have CX_LEAVE_SCOPE as their first action.
Add it as the first action of POPEVAL too, and remove all the explicit
calls to CX_LEAVE_SCOPE dotted around near POPEVALs.

Note that this causes a slight change in behaviour in dounwind:
the CX_LEAVE_SCOPE is now done as the first action of POPEVAL there
rather than being done afterwards. This is now consistence will all other
uses of POPEVAL.
cop.h
pp_ctl.c