bug 379056: quieting the assertions here for all but myself and mrbkap, r=mrbkap

This commit is contained in:
crowder@fiverocks.com 2007-06-18 13:24:00 -07:00
parent f0deac9b25
commit 238b7dc549

View File

@ -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)