From 238b7dc549e04a019f0067e9930c41d088650690 Mon Sep 17 00:00:00 2001 From: "crowder@fiverocks.com" Date: Mon, 18 Jun 2007 13:24:00 -0700 Subject: [PATCH] bug 379056: quieting the assertions here for all but myself and mrbkap, r=mrbkap --- js/src/jsregexp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/src/jsregexp.c b/js/src/jsregexp.c index e8a46ae0bddb..febbf5295981 100644 --- a/js/src/jsregexp.c +++ b/js/src/jsregexp.c @@ -2885,8 +2885,10 @@ ExecuteREBytecode(REGlobalData *gData, REMatchState *x) JS_ASSERT(parenIndex < gData->regexp->parenCount); cap = &x->parens[parenIndex]; cap->length = x->cp - (gData->cpbegin + cap->index); +#if defined(DEBUG_crowder) || defined(DEBUG_mrbkap) JS_ASSERT(x->cp >= (gData->cpbegin + cap->index)); JS_ASSERT((int)cap->length <= (gData->cpend - gData->cpbegin)); +#endif op = (REOp) *pc++; if (!result)