From d283e8761b900561d01c1d8807b4a2f19e0c28c1 Mon Sep 17 00:00:00 2001 From: syber Date: Fri, 8 Aug 2014 21:06:10 +0400 Subject: Make S_method_common use gv_stashpvn instead of copypasted cache usage The previous commit copied the PL_stashcache handling code from S_method_common() to gv_stashpvn(), so now we can call that function directly rather than doing it ourselves. --- gv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gv.h') diff --git a/gv.h b/gv.h index d7ca92fb58..5071591742 100644 --- a/gv.h +++ b/gv.h @@ -235,6 +235,8 @@ Return the CV from the GV. #define GV_ADDMG 0x400 /* add if magical */ #define GV_NO_SVGMAGIC 0x800 /* Skip get-magic on an SV argument; used only by gv_fetchsv(_nomg) */ +#define GV_CACHE_ONLY 0x1000 /* return stash only if found in cache; + used only in flags parameter to gv_stash* family */ /* Flags for gv_fetchmeth_pvn and gv_autoload_pvn*/ #define GV_SUPER 0x1000 /* SUPER::method */ -- cgit v1.2.1