diff options
author | Mike Pall <mike> | 2010-02-04 20:40:00 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-02-04 20:40:00 +0100 |
commit | 5d2690c6084d09ed6f5bb9cdb4fc5113bb4fa512 (patch) | |
tree | 8e18b1f103b3c8bd99c34d70cb678cc2772ca8c3 /src/lj_dispatch.h | |
parent | 7256690364a2c9a5e9269ffd89bc132ee188480d (diff) | |
download | luajit-5d2690c6084d09ed6f5bb9cdb4fc5113bb4fa512.tar.gz luajit-5d2690c6084d09ed6f5bb9cdb4fc5113bb4fa512.tar.bz2 luajit-5d2690c6084d09ed6f5bb9cdb4fc5113bb4fa512.zip |
Reset the hotcount table after a JIT off to on transition.
Diffstat (limited to 'src/lj_dispatch.h')
-rw-r--r-- | src/lj_dispatch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_dispatch.h b/src/lj_dispatch.h index ce9d9e11..cb5e5f64 100644 --- a/src/lj_dispatch.h +++ b/src/lj_dispatch.h | |||
@@ -56,6 +56,7 @@ typedef struct GG_State { | |||
56 | 56 | ||
57 | /* Dispatch table management. */ | 57 | /* Dispatch table management. */ |
58 | LJ_FUNC void lj_dispatch_init(GG_State *GG); | 58 | LJ_FUNC void lj_dispatch_init(GG_State *GG); |
59 | LJ_FUNC void lj_dispatch_init_hotcount(global_State *g); | ||
59 | LJ_FUNC void lj_dispatch_update(global_State *g); | 60 | LJ_FUNC void lj_dispatch_update(global_State *g); |
60 | 61 | ||
61 | /* Instruction dispatch callback for instr/line hooks or when recording. */ | 62 | /* Instruction dispatch callback for instr/line hooks or when recording. */ |