summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-06-04 16:57:23 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-06-04 18:14:53 -0700
commit61b3e50d8dcb71970472bb2a7467f30042a9eaf5 (patch)
treefa6e92f19db0cd04d28ddc7f7aa7c4bcf7fda949 /scope.h
parent69927412246c66d2f82f9f7a155734300e71398d (diff)
downloadperl-61b3e50d8dcb71970472bb2a7467f30042a9eaf5.tar.gz
Say goodbye to SAVECOPSTASH
This is undocumented and unused.
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/scope.h b/scope.h
index 591cf75ae1..74ebed9e65 100644
--- a/scope.h
+++ b/scope.h
@@ -235,13 +235,12 @@ scope has the given name. Name must be a literal string.
#define SAVEPARSER(p) save_pushptr((p), SAVEt_PARSER)
#ifdef USE_ITHREADS
-# define SAVECOPSTASH(c) SAVEIV((c)->cop_stashoff)
# define SAVECOPSTASH_FREE(c) SAVEIV((c)->cop_stashoff)
# define SAVECOPFILE(c) SAVEPPTR(CopFILE(c))
# define SAVECOPFILE_FREE(c) SAVESHAREDPV(CopFILE(c))
#else
-# define SAVECOPSTASH(c) SAVESPTR(CopSTASH(c))
-# define SAVECOPSTASH_FREE(c) SAVECOPSTASH(c) /* XXX not refcounted */
+# /* XXX not refcounted */
+# define SAVECOPSTASH_FREE(c) SAVESPTR(CopSTASH(c))
# define SAVECOPFILE(c) SAVESPTR(CopFILEGV(c))
# define SAVECOPFILE_FREE(c) SAVEGENERICSV(CopFILEGV(c))
#endif