This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_ctl.c:pp_dbstate: Don’t adjust CvDEPTH for XSUBs
authorFather Chrysostomos <sprout@cpan.org>
Fri, 17 Aug 2012 06:44:11 +0000 (23:44 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 17 Aug 2012 23:45:21 +0000 (16:45 -0700)
commitee62b5872fcaa0eebd452a940ede4d506653bd81
tree28230c1fe442627eca23eda9cb7c72cb512811b6
parentf28d8eb1c114895944de593e05ba8271fe1b4fdf
pp_ctl.c:pp_dbstate: Don’t adjust CvDEPTH for XSUBs

Commit c127bd3aaa5c5 made XS DB::DB subs work.  Before that,
pp_dbstate assumed DB::DB was written it perl.  It adjusts CvDEPTH
when calling the XSUB, which serves no purpose.  It was presumably
just copied from the pure-Perl-calling code.  pp_entersub does-
n’t do this.
pp_ctl.c