diff options
author | Steve Hay <SteveHay@planit.com> | 2006-01-03 15:57:18 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2006-01-03 15:57:18 +0000 |
commit | 8688788eaf75c1c6bc22e0fc68eafa35e6ef1f2b (patch) | |
tree | 3b6a4742dfaddcfef7df84237262ddfc7105472a /cop.h | |
parent | 4df3f177ec6976dd82207a4ed033ec8c90400146 (diff) | |
download | perl-8688788eaf75c1c6bc22e0fc68eafa35e6ef1f2b.tar.gz |
Fix release mode builds following change 26598
p4raw-id: //depot/perl@26608
Diffstat (limited to 'cop.h')
-rw-r--r-- | cop.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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)) |