This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_return: set eval CV depth to 0
authorDavid Mitchell <davem@iabyn.com>
Thu, 11 Jun 2015 09:06:02 +0000 (10:06 +0100)
committerDavid Mitchell <davem@iabyn.com>
Fri, 19 Jun 2015 07:44:18 +0000 (08:44 +0100)
commit4496054ce9622fa4c6c6b737432d1f1056650d01
tree6c56eea1032e0073dbb98a72ec3af186ebb0b2c0
parent1ef2b70a7cb09564d92d47d3d76af07c36455485
pp_return: set eval CV depth to 0

In pp_leaveval, the CvDEPTH of the eval is set to 0. This doesn't
seem to be actually necessary (no tests fail if its removed),
but for consistency, add the same step to pp_return, which currently
doesn't do this. This is so that shortly we can make pp_return tail call
pp_leaveval.
pp_ctl.c