diff options
author | Mike Pall <mike> | 2010-02-14 20:48:33 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-02-14 20:48:33 +0100 |
commit | 2a2f8ed6a144fe763379f9cf0eb6a45750432a47 (patch) | |
tree | 5b2b97d2f3dd22c80a0840132df5b3d7fc136484 /src/lj_dispatch.h | |
parent | 8e38231f9ea0bd1185c0b9688e71cef52f96bb31 (diff) | |
download | luajit-2a2f8ed6a144fe763379f9cf0eb6a45750432a47.tar.gz luajit-2a2f8ed6a144fe763379f9cf0eb6a45750432a47.tar.bz2 luajit-2a2f8ed6a144fe763379f9cf0eb6a45750432a47.zip |
Implement return hooks for Lua functions (zero-cost if disabled).
Diffstat (limited to 'src/lj_dispatch.h')
-rw-r--r-- | src/lj_dispatch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_dispatch.h b/src/lj_dispatch.h index 935fa821..1aa7dae0 100644 --- a/src/lj_dispatch.h +++ b/src/lj_dispatch.h | |||
@@ -66,6 +66,7 @@ LJ_FUNC void lj_dispatch_update(global_State *g); | |||
66 | 66 | ||
67 | /* Instruction dispatch callback for hooks or when recording. */ | 67 | /* Instruction dispatch callback for hooks or when recording. */ |
68 | LJ_FUNCA void LJ_FASTCALL lj_dispatch_ins(lua_State *L, const BCIns *pc); | 68 | LJ_FUNCA void LJ_FASTCALL lj_dispatch_ins(lua_State *L, const BCIns *pc); |
69 | LJ_FUNCA ASMFunction LJ_FASTCALL lj_dispatch_call(lua_State *L, const BCIns *pc); | 69 | LJ_FUNCA ASMFunction LJ_FASTCALL lj_dispatch_call(lua_State *L, const BCIns*pc); |
70 | LJ_FUNCA void LJ_FASTCALL lj_dispatch_return(lua_State *L, const BCIns *pc); | ||
70 | 71 | ||
71 | #endif | 72 | #endif |