Remove temporary mcode limit error from application stack.

This commit is contained in:
Mike Pall
2011-08-09 00:45:26 +02:00
parent d9b518874d
commit bed0f18466
2 changed files with 5 additions and 0 deletions

View File

@@ -497,6 +497,7 @@ static int trace_abort(jit_State *J)
if (tvisnumber(L->top-1))
e = (TraceError)numberVint(L->top-1);
if (e == LJ_TRERR_MCODELM) {
L->top--; /* Remove error object */
J->state = LJ_TRACE_ASM;
return 1; /* Retry ASM with new MCode area. */
}