summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-04-06 20:27:34 +0000
committerNicholas Clark <nick@ccl4.org>2008-04-06 20:27:34 +0000
commit06f53df5b0108ea5ee08faa93bb51ff77c7be7e6 (patch)
treeb44e2ce273fe3d0a5a3fcdec61332fa0888f3365 /scope.h
parent4b65a9196162b345e7cbe8a43eca838c2e79e41b (diff)
downloadperl-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 'scope.h')
-rw-r--r--scope.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/scope.h b/scope.h
index 7f56460b2d..bb033e369b 100644
--- a/scope.h
+++ b/scope.h
@@ -227,15 +227,11 @@ Closing bracket on a callback. See C<ENTER> and L<perlcall>.
# define SAVECOPSTASH_FREE(c) SAVESHAREDPV(CopSTASHPV(c))
# define SAVECOPFILE(c) SAVEPPTR(CopFILE(c))
# define SAVECOPFILE_FREE(c) SAVESHAREDPV(CopFILE(c))
-# define SAVECOPLABEL(c) SAVEPPTR(CopLABEL(c))
-# define SAVECOPLABEL_FREE(c) SAVESHAREDPV(CopLABEL(c))
#else
# define SAVECOPSTASH(c) SAVESPTR(CopSTASH(c))
# define SAVECOPSTASH_FREE(c) SAVECOPSTASH(c) /* XXX not refcounted */
# define SAVECOPFILE(c) SAVESPTR(CopFILEGV(c))
# define SAVECOPFILE_FREE(c) SAVEGENERICSV(CopFILEGV(c))
-# define SAVECOPLABEL(c) SAVEPPTR(CopLABEL(c))
-# define SAVECOPLABEL_FREE(c) SAVEPPTR(CopLABEL(c))
#endif
#define SAVECOPLINE(c) SAVEI32(CopLINE(c))