refcounted_he_fetch() never was public, but in recent 5.13.x versions it is
no longer linkable.
#define rep_hint() rep_hint(aTHX)
SV *hint;
+#ifdef cop_hints_fetch_pvn
+ hint = cop_hints_fetch_pvn(PL_curcop,
+ __PACKAGE__, __PACKAGE_LEN__, rep_hash, 0);
+#else
/* We already require 5.9.5 for the regexp engine API. */
hint = Perl_refcounted_he_fetch(aTHX_ PL_curcop->cop_hints_hash,
NULL,
__PACKAGE__, __PACKAGE_LEN__,
0,
rep_hash);
+#endif
return rep_detag(hint);
}