diff options
author | Mike Pall <mike> | 2009-12-30 02:37:57 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-30 02:37:57 +0100 |
commit | 9de0f53a8db3a4d3fa1951ff08aaab392dc7a584 (patch) | |
tree | ce510093fe7d09073c90afbf18f8d5e3577c3cf3 /src/lj_dispatch.h | |
parent | 52eb88773e88464cb5cc69b485d742468f66f2a2 (diff) | |
download | luajit-9de0f53a8db3a4d3fa1951ff08aaab392dc7a584.tar.gz luajit-9de0f53a8db3a4d3fa1951ff08aaab392dc7a584.tar.bz2 luajit-9de0f53a8db3a4d3fa1951ff08aaab392dc7a584.zip |
Implement yield from C hooks.
Get number of multiple results from C frame.
Add lj_cont_hook: restores multres and dispatch to static ins.
Can use fastcall for lj_dispatch_ins() now.
Diffstat (limited to 'src/lj_dispatch.h')
-rw-r--r-- | src/lj_dispatch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_dispatch.h b/src/lj_dispatch.h index 298aa166..26c14fb9 100644 --- a/src/lj_dispatch.h +++ b/src/lj_dispatch.h | |||
@@ -59,6 +59,6 @@ LJ_FUNC void lj_dispatch_init(GG_State *GG); | |||
59 | LJ_FUNC void lj_dispatch_update(global_State *g); | 59 | LJ_FUNC void lj_dispatch_update(global_State *g); |
60 | 60 | ||
61 | /* Instruction dispatch callback for instr/line hooks or when recording. */ | 61 | /* Instruction dispatch callback for instr/line hooks or when recording. */ |
62 | LJ_FUNCA void lj_dispatch_ins(lua_State *L, const BCIns *pc, uint32_t nres); | 62 | LJ_FUNCA void LJ_FASTCALL lj_dispatch_ins(lua_State *L, const BCIns *pc); |
63 | 63 | ||
64 | #endif | 64 | #endif |