This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #119811] Remove %DB::lsub
authorFather Chrysostomos <sprout@cpan.org>
Sun, 27 Oct 2013 00:08:28 +0000 (17:08 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 28 Oct 2013 23:15:08 +0000 (16:15 -0700)
commit07b605e5ff63dcb6d539ba8bfcb5caf87078f032
tree55bb704058da4fdeb7960659bbef52ea4ac1e2af
parentcf93a474d4757162f972857eb69a670bf2aad44d
[perl #119811] Remove %DB::lsub

Under the debugger (the -d switch), if there is a DB::sub subroutine,
then %DB::lsub gets autovivified during a call to an lvalue sub.  That
hash is never used.  The code for vivifying the *DB::lsub glob was
copied from *DB::sub when lsub was added, and *DB::sub does have a
hash (%DB::sub), but *DB::lsub doesn’t need one.
pp_hot.c
t/run/switchd.t