summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2016-11-13 02:16:23 -0700
committerTony Cook <tony@develop-help.com>2016-11-15 15:25:26 +1100
commit9f94e05533f94bb11e398d9fd7c7a064b86c451a (patch)
treee4eb4cd6a108b000c2b7d5bfc004b72cbe134615 /regexec.c
parent622584734f799751a284558aaebad21acd3270bf (diff)
downloadperl-9f94e05533f94bb11e398d9fd7c7a064b86c451a.tar.gz
Cleanup PERL_VERSION checks in .c files
This commit is removing code not exercised by blead or any later versions using PERL_VERSION. This is a noop, mainly cleaning code.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/regexec.c b/regexec.c
index 6c5ce9f84f..c54c1595dc 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3694,9 +3694,6 @@ Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...)
STATIC regmatch_state *
S_push_slab(pTHX)
{
-#if PERL_VERSION < 9 && !defined(PERL_CORE)
- dMY_CXT;
-#endif
regmatch_slab *s = PL_regmatch_slab->next;
if (!s) {
Newx(s, 1, regmatch_slab);
@@ -5328,10 +5325,6 @@ S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos,
STATIC SSize_t
S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
{
-
-#if PERL_VERSION < 9 && !defined(PERL_CORE)
- dMY_CXT;
-#endif
dVAR;
const bool utf8_target = reginfo->is_utf8_target;
const U32 uniflags = UTF8_ALLOW_DEFAULT;