From: Doug MacEachern Date: Thu, 12 Jul 2001 10:13:27 +0000 (-0700) Subject: [patch] faster PM_GETRE X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=05c0afcd48803bd005c2c399eba6a8cd78b0e116;p=p5sagit%2Fp5-mst-13.2.git [patch] faster PM_GETRE Message-ID: p4raw-id: //depot/perl@11314 --- diff --git a/op.h b/op.h index 2d95358..af0e983 100644 --- a/op.h +++ b/op.h @@ -250,7 +250,7 @@ struct pmop { }; #ifdef USE_ITHREADS -#define PM_GETRE(o) ((REGEXP*)SvIV(PL_regex_pad[(o)->op_pmoffset])) +#define PM_GETRE(o) ((REGEXP*)SvIVX(PL_regex_pad[(o)->op_pmoffset])) #define PM_SETRE(o,r) (sv_setiv(PL_regex_pad[(o)->op_pmoffset], (IV)r)) #else #define PM_GETRE(o) ((o)->op_pmregexp)