Reset the hotcount table after a JIT off to on transition.

This commit is contained in:
Mike Pall
2010-02-04 20:40:00 +01:00
parent 7256690364
commit 5d2690c608
3 changed files with 18 additions and 15 deletions

View File

@@ -56,6 +56,7 @@ typedef struct GG_State {
/* Dispatch table management. */
LJ_FUNC void lj_dispatch_init(GG_State *GG);
LJ_FUNC void lj_dispatch_init_hotcount(global_State *g);
LJ_FUNC void lj_dispatch_update(global_State *g);
/* Instruction dispatch callback for instr/line hooks or when recording. */