From 737ddd9966a0343f74f23dcc8d4025bbf64d3e59 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 11 Jan 2008 13:22:35 +0000 Subject: Remove PM_GETRE_SAFE and PM_SETRE_SAFE as nothing uses them. p4raw-id: //depot/perl@32952 --- op.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'op.h') 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 -- cgit v1.2.1