summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-08 17:55:41 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-08 17:55:41 +0000
commit86d2c25d57d36407551f0841eab018075f2188bf (patch)
treef5646a6426b34f34ba1ca214c64644431b3b66bd /perl.c
parent937c6efd46f402a78d44f0b18f0e1e97c6c941d9 (diff)
downloadperl-86d2c25d57d36407551f0841eab018075f2188bf.tar.gz
With regexps stored as real RVs, we can eliminate SvREPADTMP().
Exterminate! Exterminate! Exterminate! p4raw-id: //depot/perl@32902
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/perl.c b/perl.c
index e57356bcd1..88448de785 100644
--- a/perl.c
+++ b/perl.c
@@ -887,9 +887,6 @@ perl_destruct(pTHXx)
/* So stop it pointing to what is now a dead reference. */
SvROK_off(resv);
}
- else if(SvREPADTMP(resv)) {
- SvREPADTMP_off(resv);
- }
}
}
SvREFCNT_dec(PL_regex_padav);