diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-04-06 20:27:34 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-04-06 20:27:34 +0000 |
commit | 06f53df5b0108ea5ee08faa93bb51ff77c7be7e6 (patch) | |
tree | b44e2ce273fe3d0a5a3fcdec61332fa0888f3365 /cop.h | |
parent | 4b65a9196162b345e7cbe8a43eca838c2e79e41b (diff) | |
download | perl-06f53df5b0108ea5ee08faa93bb51ff77c7be7e6.tar.gz |
A macro used only once isn't a typing saving, and 3 macro definitions
never used are more obfuscation than clarification, so inline the only
use of SAVECOPLABEL_FREE(), and remove the unthreaded variant and
both SAVECOPLABEL()s. Exterminate! Exterminate! Exterminate!
p4raw-id: //depot/perl@33654
Diffstat (limited to 'cop.h')
-rw-r--r-- | cop.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ struct cop { # ifdef NETWARE # define CopSTASH_free(c) SAVECOPSTASH_FREE(c) # define CopFILE_free(c) SAVECOPFILE_FREE(c) -# define CopLABEL_free(c) SAVECOPLABEL_FREE(c) +# define CopLABEL_free(c) SAVESHAREDPV(CopLABEL(c)) # define CopLABEL_alloc(pv) ((pv)?savepv(pv):NULL) # else # define CopSTASH_free(c) PerlMemShared_free(CopSTASHPV(c)) |