Bug 497779: try to extend tree on inner-tree CASE_EXIT, r=gal

This commit is contained in:
David Mandelin 2009-06-16 09:10:28 +01:00
parent 52fe5a97ba
commit 20478b6b72

View File

@ -4240,6 +4240,7 @@ js_RecordLoopEdge(JSContext* cx, TraceRecorder* r, uintN& inlineCallCount)
oracle.markInstructionUndemotable(cx->fp->regs->pc);
/* fall through */
case BRANCH_EXIT:
case CASE_EXIT:
/* abort recording the outer tree, extend the inner tree */
js_AbortRecording(cx, "Inner tree is trying to grow, abort outer recording");
return js_AttemptToExtendTree(cx, lr, NULL, outer);