From: Nicholas Clark Date: Fri, 11 Jan 2008 13:22:35 +0000 (+0000) Subject: Remove PM_GETRE_SAFE and PM_SETRE_SAFE as nothing uses them. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=737ddd9966a0343f74f23dcc8d4025bbf64d3e59;p=p5sagit%2Fp5-mst-13.2.git Remove PM_GETRE_SAFE and PM_SETRE_SAFE as nothing uses them. p4raw-id: //depot/perl@32952 --- diff --git a/op.h b/op.h index dc36c01..7262afe 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