From 88a35045d18338c34e942de2492f5f04dc941db9 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Fri, 31 Jan 2014 23:45:01 +0000 Subject: [PATCH] re_intuit_start(): add tmp assertion This assertion confirms it is safe to strip out some redundant code that will be removed (and explained) in the next commit --- regexec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/regexec.c b/regexec.c index 6004b22..14316fe 100644 --- a/regexec.c +++ b/regexec.c @@ -942,6 +942,7 @@ Perl_re_intuit_start(pTHX_ assert(prog->minlen > prog->anchored_offset); last2 = last1 = HOP3c(strend, prog->anchored_offset-prog->minlen, strbeg); + assert (last <= last2); if (last < last1) last1 = last; -- 2.7.4