This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove Perl_av_top_index
[perl5.git] / av.c
diff --git a/av.c b/av.c
index ada09cd..ad2429f 100644 (file)
--- a/av.c
+++ b/av.c
@@ -1095,16 +1095,6 @@ Perl_av_nonelem(pTHX_ AV *av, SSize_t ix) {
     return sv;
 }
 
-SSize_t
-Perl_av_top_index(pTHX_ AV *av)
-{
-    PERL_ARGS_ASSERT_AV_TOP_INDEX;
-    assert(SvTYPE(av) == SVt_PVAV);
-
-    return AvFILL(av);
-}
-
-
 /*
  * ex: set ts=8 sts=4 sw=4 et:
  */