Suppress recording of retried fast functions.

This commit is contained in:
Mike Pall
2011-03-07 20:03:38 +01:00
parent f29a9d4341
commit 8eb09fe820
3 changed files with 9 additions and 2 deletions

View File

@@ -1400,6 +1400,10 @@ void lj_record_ins(jit_State *J)
}
}
break;
case LJ_POST_FFRETRY: /* Suppress recording of retried fast function. */
if (bc_op(*J->pc) >= BC__MAX)
return;
break;
default: lua_assert(0); break;
}
J->postproc = LJ_POST_NONE;