summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-03-14 20:58:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-14 20:58:12 +0000
commit192cbf1b06bd0b1c75cb42877f87ad6c99aa68e0 (patch)
tree44472baf5578c0046de358f53d048ae9a303b213 /op.h
parentb0316773a7479486204b0422c55f41a957e6f99b (diff)
downloadperl-192cbf1b06bd0b1c75cb42877f87ad6c99aa68e0.tar.gz
The #9145 CANNOT be enabled: the clear_pmop code still
dumps core all over in Tru64. p4raw-id: //depot/perl@9157
Diffstat (limited to 'op.h')
-rw-r--r--op.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/op.h b/op.h
index f7bd4b04d6..6c629427da 100644
--- a/op.h
+++ b/op.h
@@ -242,11 +242,6 @@ struct pmop {
U16 op_pmflags;
U16 op_pmpermflags;
U8 op_pmdynflags;
-#ifdef USE_ITHREADS
- char * op_pmstashpv;
-#else
- HV * op_pmstash;
-#endif
};
#define PMdf_USED 0x01 /* pm has been used once already */
@@ -276,20 +271,6 @@ struct pmop {
/* mask of bits stored in regexp->reganch */
#define PMf_COMPILETIME (PMf_MULTILINE|PMf_SINGLELINE|PMf_LOCALE|PMf_FOLD|PMf_EXTENDED)
-#ifdef USE_ITHREADS
-# define PmopSTASHPV(o) ((o)->op_pmstashpv)
-# define PmopSTASHPV_set(o,pv) ((o)->op_pmstashpv = ((pv) ? savepv(pv) : Nullch))
-# define PmopSTASH(o) (PmopSTASHPV(o) \
- ? gv_stashpv(PmopSTASHPV(o),GV_ADD) : Nullhv)
-# define PmopSTASH_set(o,hv) PmopSTASHPV_set(o, (hv) ? HvNAME(hv) : Nullch)
-#else
-# define PmopSTASH(o) ((o)->op_pmstash)
-# define PmopSTASH_set(o,hv) ((o)->op_pmstash = (hv))
-# define PmopSTASHPV(o) (PmopSTASH(o) ? HvNAME(PmopSTASH(o)) : Nullch)
- /* op_pmstash is not refcounted */
-# define PmopSTASHPV_set(o,pv) PmopSTASH_set((o), gv_stashpv(pv,GV_ADD))
-#endif
-
struct svop {
BASEOP
SV * op_sv;