This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POPLOOP(): no need to mortalise current item
authorDavid Mitchell <davem@iabyn.com>
Thu, 27 Aug 2015 12:40:20 +0000 (13:40 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:39 +0000 (08:59 +0000)
commit385bbb1262443aa7e41c6e8acd6a895395459a02
treeef5199eb552c75f20203b3cf3d5c1fa99932bd34
parentf0bb9bf76bbed7ffe177496880af0e8873394453
POPLOOP(): no need to mortalise current item

Now that pp_return() protects its return arg(s) against premature freeing
before calling dounwind(), there's no need for POPLOOP to mortalise the
current item.
cop.h