summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-03-07 14:49:54 -0700
committerKarl Williamson <khw@cpan.org>2016-03-07 21:01:49 -0700
commit7e13d567238b0a97c71d97539515f094b4bfe5e1 (patch)
tree52195b825893fffbeb1fbd66d858bf123f00bd4a /regexec.c
parent6be58040b229d0899faf04b1ce99ce9a5e2b1344 (diff)
downloadperl-7e13d567238b0a97c71d97539515f094b4bfe5e1.tar.gz
Convert to use av_tindex_nomg()
I looked at the code I'm familiar with, and converted the av_tindex calls on arrays I was confident don't have magic to av_tindex_nomg(). This saves a little work each time.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 07a80e211a..13dcf91972 100644
--- a/regexec.c
+++ b/regexec.c
@@ -4130,7 +4130,7 @@ S_setup_EXACTISH_ST_c1_c2(pTHX_ const regnode * const text_node, int *c1p,
}
else { /* Does participate in folds */
AV* list = (AV*) *listp;
- if (av_tindex(list) != 1) {
+ if (av_tindex_nomg(list) != 1) {
/* If there aren't exactly two folds to this, it is
* outside the scope of this function */