summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-21 00:22:38 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-30 11:48:36 -0800
commit09d7a3ba918e6e685992034f67fd84290a3df894 (patch)
treee850c8b55f5bc9d47dee128283706e7c2b3f1dfd /pad.c
parentafb6e3f520f7e3ce2c0ed90f778ed45b48f9e43c (diff)
downloadperl-09d7a3ba918e6e685992034f67fd84290a3df894.tar.gz
Mathomise pad_compname_type
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/pad.c b/pad.c
index f95d388889..8cbb882a00 100644
--- a/pad.c
+++ b/pad.c
@@ -2487,22 +2487,6 @@ Perl_pad_push(pTHX_ PADLIST *padlist, int depth)
}
}
-/*
-=for apidoc Am|HV *|pad_compname_type|PADOFFSET po
-
-Looks up the type of the lexical variable at position I<po> in the
-currently-compiling pad. If the variable is typed, the stash of the
-class to which it is typed is returned. If not, C<NULL> is returned.
-
-=cut
-*/
-
-HV *
-Perl_pad_compname_type(pTHX_ const PADOFFSET po)
-{
- return PadnameTYPE(PAD_COMPNAME(po));
-}
-
#if defined(USE_ITHREADS)
# define av_dup_inc(s,t) MUTABLE_AV(sv_dup_inc((const SV *)s,t))