projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f5134
)
[patch] faster PM_GETRE
author
Doug MacEachern
<dougm@covalent.net>
Thu, 12 Jul 2001 10:13:27 +0000
(
03:13
-0700)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 12 Jul 2001 16:13:15 +0000
(16:13 +0000)
Message-ID: <Pine.LNX.4.21.
0107121011530
.28844-100000@mako.covalent.net>
p4raw-id: //depot/perl@11314
op.h
patch
|
blob
|
history
diff --git
a/op.h
b/op.h
index
2d95358
..
af0e983
100644
(file)
--- 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*)SvIV
X
(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)