From: Steve Hay Date: Tue, 3 Jan 2006 15:57:18 +0000 (+0000) Subject: Fix release mode builds following change 26598 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8688788eaf75c1c6bc22e0fc68eafa35e6ef1f2b;p=p5sagit%2Fp5-mst-13.2.git Fix release mode builds following change 26598 p4raw-id: //depot/perl@26608 --- diff --git a/cop.h b/cop.h index ed57184..8ba4fe9 100644 --- a/cop.h +++ b/cop.h @@ -167,8 +167,12 @@ struct cop { ? GvSV(gv_fetchfile(CopFILE(c))) : Nullsv) # define CopFILEAV(c) (CopFILE(c) \ ? GvAV(gv_fetchfile(CopFILE(c))) : NULL) -# define CopFILEAVx(c) (assert(CopFILE(c)), \ +# ifdef DEBUGGING +# define CopFILEAVx(c) (assert(CopFILE(c)), \ GvAV(gv_fetchfile(CopFILE(c)))) +# else +# define CopFILEAVx(c) (GvAV(gv_fetchfile(CopFILE(c)))) +# endif # define CopSTASHPV(c) ((c)->cop_stashpv) # ifdef NETWARE @@ -194,7 +198,11 @@ struct cop { # define CopFILE_set(c,pv) CopFILEGV_set((c), gv_fetchfile(pv)) # define CopFILESV(c) (CopFILEGV(c) ? GvSV(CopFILEGV(c)) : Nullsv) # define CopFILEAV(c) (CopFILEGV(c) ? GvAV(CopFILEGV(c)) : NULL) -# define CopFILEAVx(c) (assert(CopFILEGV(c)), GvAV(CopFILEGV(c))) +# ifdef DEBUGGING +# define CopFILEAVx(c) (assert(CopFILEGV(c)), GvAV(CopFILEGV(c))) +# else +# define CopFILEAVx(c) (GvAV(CopFILEGV(c))) +# endif # define CopFILE(c) (CopFILESV(c) ? SvPVX(CopFILESV(c)) : Nullch) # define CopSTASH(c) ((c)->cop_stash) # define CopSTASH_set(c,hv) ((c)->cop_stash = (hv))