This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove obsolete panic from die_unwind()
authorDavid Mitchell <davem@iabyn.com>
Fri, 16 Oct 2015 11:00:46 +0000 (12:00 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:45 +0000 (08:59 +0000)
commite17c1e7c6fc06dc65cd8688cf73effdd65b1e9ba
tree0e8a3e6b8b90f90fa11a7d181ae18dca84c4278e
parent42831ce4bbb728b1e5cfa313cf99a85712eb080f
remove obsolete panic from die_unwind()

It panics if the context it has just popped back to isn't a CXt_EVAL.
Since we have just called dopoptoeval() which can only pop to an eval, and
since we assert that its an eval, this seems such an unlikely "this can
can never happen" that it doesn't really seem worth testing for.

It was added in perl5.000, and may have made slightly more sense then, as
there used to be a POPBLOCK just before it.
pod/perldiag.pod
pp_ctl.c