diff options
author | Mike Pall <mike> | 2013-09-18 15:27:28 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2013-09-18 15:27:28 +0200 |
commit | eec06a0e3b3a3c768f95ed374518b1b861d41217 (patch) | |
tree | 758d2de5cf1cdc7f9ce5bc960ee979493c43a18b /src/lj_profile.h | |
parent | a51b8bf6b45a427c21a4498d2a0214cb7af341f3 (diff) | |
download | luajit-eec06a0e3b3a3c768f95ed374518b1b861d41217.tar.gz luajit-eec06a0e3b3a3c768f95ed374518b1b861d41217.tar.bz2 luajit-eec06a0e3b3a3c768f95ed374518b1b861d41217.zip |
Fix profiler/hook interaction.
Diffstat (limited to '')
-rw-r--r-- | src/lj_profile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_profile.h b/src/lj_profile.h index ad26f2b6..3feb3c1e 100644 --- a/src/lj_profile.h +++ b/src/lj_profile.h | |||
@@ -11,6 +11,10 @@ | |||
11 | #if LJ_HASPROFILE | 11 | #if LJ_HASPROFILE |
12 | 12 | ||
13 | LJ_FUNC void LJ_FASTCALL lj_profile_interpreter(lua_State *L); | 13 | LJ_FUNC void LJ_FASTCALL lj_profile_interpreter(lua_State *L); |
14 | #if !LJ_PROFILE_SIGPROF | ||
15 | LJ_FUNC void LJ_FASTCALL lj_profile_hook_enter(global_State *g); | ||
16 | LJ_FUNC void LJ_FASTCALL lj_profile_hook_leave(global_State *g); | ||
17 | #endif | ||
14 | 18 | ||
15 | #endif | 19 | #endif |
16 | 20 | ||