summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-11 13:22:35 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-11 13:22:35 +0000
commit737ddd9966a0343f74f23dcc8d4025bbf64d3e59 (patch)
tree1bb965eb0d5a9fc72d1bdf0493cb4166a314e6b1 /op.h
parent1017f0c58d4a167800bbc87ed89d97c1c0bbd071 (diff)
downloadperl-737ddd9966a0343f74f23dcc8d4025bbf64d3e59.tar.gz
Remove PM_GETRE_SAFE and PM_SETRE_SAFE as nothing uses them.
p4raw-id: //depot/perl@32952
Diffstat (limited to 'op.h')
-rw-r--r--op.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/op.h b/op.h
index dc36c01806..7262afe967 100644
--- a/op.h
+++ b/op.h
@@ -344,18 +344,9 @@ struct pmop {
assert(whap); \
PL_regex_pad[(o)->op_pmoffset] = (SV*)whap; \
} STMT_END
-# ifndef PERL_CORE
-/* No longer used anywhere in the core. Migrate to Devel::PPPort? */
-#define PM_GETRE_SAFE(o) (PL_regex_pad ? PM_GETRE(o) : (REGEXP*)0)
-#define PM_SETRE_SAFE(o,r) if (PL_regex_pad) PM_SETRE(o,r)
-# endif
#else
#define PM_GETRE(o) ((o)->op_pmregexp)
#define PM_SETRE(o,r) ((o)->op_pmregexp = (r))
-# ifndef PERL_CORE
-#define PM_GETRE_SAFE PM_GETRE
-#define PM_SETRE_SAFE PM_SETRE
-# endif
#endif