diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-08-19 14:21:50 -0700 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2015-09-29 10:49:20 -0400 |
commit | 74a742c4874f0809d4782811ea55b309220aa8f3 (patch) | |
tree | c04c66250d226f506cce2009a880700274cb7e9e /pad.c | |
parent | 195eefec8954a37afa243ff3a7cb526b7d3a5e36 (diff) | |
download | perl-74a742c4874f0809d4782811ea55b309220aa8f3.tar.gz |
Remove find_rundefsv2
It was never public, and was only written for the sake of pp_coreargs,
which no longer uses it.
Diffstat (limited to 'pad.c')
-rw-r--r-- | pad.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -1066,24 +1066,6 @@ Perl_find_rundefsv(pTHX) return DEFSV; } -SV * -Perl_find_rundefsv2(pTHX_ CV *cv, U32 seq) -{ - PADNAME *name; - int flags; - PADOFFSET po; - - PERL_ARGS_ASSERT_FIND_RUNDEFSV2; - - po = pad_findlex("$_", 2, 0, cv, seq, 1, - NULL, &name, &flags); - - if (po == NOT_IN_PAD || PadnameIsOUR(name)) - return DEFSV; - - return AvARRAY(PadlistARRAY(CvPADLIST(cv))[CvDEPTH(cv)])[po]; -} - /* =for apidoc m|PADOFFSET|pad_findlex|const char *namepv|STRLEN namelen|U32 flags|const CV* cv|U32 seq|int warn|SV** out_capture|PADNAME** out_name|int *out_flags |