summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-11-11 10:32:54 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-11-11 10:32:54 +0000
commit7dac9e91949b422747f7df62cf817b5c4b8fca8e (patch)
treecdd7a04e7b75f54261ca8d31b5dbd98d7053dd10 /scope.h
parentfda95805316f7aa147b09b339da67e48c7bc8f55 (diff)
downloadperl-7dac9e91949b422747f7df62cf817b5c4b8fca8e.tar.gz
avoid stash pointers in optree under USE_ITHREADS
p4raw-id: //depot/perl@4546
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scope.h b/scope.h
index b9495673c4..6aca9ea5a6 100644
--- a/scope.h
+++ b/scope.h
@@ -111,8 +111,10 @@
} STMT_END
#ifdef USE_ITHREADS
+# define SAVECOPSTASH(cop) SAVEPPTR(CopSTASHPV(cop))
# define SAVECOPFILE(cop) SAVEPPTR(CopFILE(cop))
#else
+# define SAVECOPSTASH(cop) SAVESPTR(CopSTASH(cop))
# define SAVECOPFILE(cop) SAVESPTR(CopFILEGV(cop))
#endif