summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-07-12 03:13:27 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-12 16:13:15 +0000
commit05c0afcd48803bd005c2c399eba6a8cd78b0e116 (patch)
tree2cc027a379dd3951eb36b6bd4d6e979a0e9f195d /op.h
parentc5f5134539549c45f3e070e3c839fb57b3f2b2f8 (diff)
downloadperl-05c0afcd48803bd005c2c399eba6a8cd78b0e116.tar.gz
[patch] faster PM_GETRE
Message-ID: <Pine.LNX.4.21.0107121011530.28844-100000@mako.covalent.net> p4raw-id: //depot/perl@11314
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index 2d953581d1..af0e983712 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)