Don't assert when the block chain has been captured. bug 345542, r=brendan

This commit is contained in:
mrbkap%gmail.com 2006-07-22 02:16:12 +00:00
parent 88704503d9
commit 202a6f3a0b

View File

@ -5956,7 +5956,8 @@ interrupt:
STORE_OPND(0, JSVAL_VOID);
sp++;
}
JS_ASSERT(OBJ_GET_PARENT(cx, obj) == fp->blockChain);
JS_ASSERT(!fp->blockChain ||
OBJ_GET_PARENT(cx, obj) == fp->blockChain);
fp->blockChain = obj;
END_LITOPX_CASE(JSOP_ENTERBLOCK)