Removed a bogus assert. Inner loops can exit on a goto in case we hit a break (453051).

This commit is contained in:
Andreas Gal 2008-09-03 01:21:21 -07:00
parent c466258c18
commit 483b7fd5a1

View File

@ -1535,7 +1535,6 @@ TraceRecorder::snapshot(ExitType exitType)
trees returning on a break goto, which the outer recorder then would confuse with
a break in the outer tree. */
jsbytecode* pc = fp->regs->pc;
JS_ASSERT(!(((*pc == JSOP_GOTO) || (*pc == JSOP_GOTOX)) && (exitType != LOOP_EXIT)));
if (*pc == JSOP_GOTO)
pc += GET_JUMP_OFFSET(pc);
else if (*pc == JSOP_GOTOX)