From 5129b2ca8d01c31a5ccad56604afff370ba7562e Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Thu, 31 Jul 2008 10:03:33 +0000 Subject: You can't (and shouldn't) use CvDEPTH on a PVFM. p4raw-id: //depot/perl@34167 --- cv.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cv.h') diff --git a/cv.h b/cv.h index 53c4733c4d..b8f3b0964f 100644 --- a/cv.h +++ b/cv.h @@ -57,8 +57,7 @@ Returns the stash of the CV. #define CvFILEGV(sv) (gv_fetchfile(CvFILE(sv))) #if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) # define CvDEPTH(sv) (*({const CV *_cvdepth = (CV *)sv; \ - assert(SvTYPE(_cvdepth) == SVt_PVCV || \ - SvTYPE(_cvdepth) == SVt_PVFM); \ + assert(SvTYPE(_cvdepth) == SVt_PVCV); \ &((XPVCV*)SvANY(_cvdepth))->xiv_u.xivu_i32; \ })) #else -- cgit v1.2.1