This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor common code paths from Perl_pad_add_name() into S_pad_add_name_sv().
authorNicholas Clark <nick@ccl4.org>
Sat, 14 Nov 2009 19:36:21 +0000 (19:36 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 15 Nov 2009 08:21:56 +0000 (08:21 +0000)
commit3291825f3fd927adacdb9c44790978a741046199
tree3a0586471127ee2ece9f6a95f55c3d7ab855f336
parentded326e4b6fad7e2479796691d0c27b89d2fe080
Refactor common code paths from Perl_pad_add_name() into S_pad_add_name_sv().

The only user of the pad_add_FAKE flag was S_pad_findlex(), so move the relevant
code there from Perl_pad_add_name(), and have S_pad_findlex() call
S_pad_add_name_sv() directly. This eliminates the pad_add_FAKE flag completely.
embed.fnc
embed.h
pad.c
pad.h
proto.h