diff options
author | Mike Pall <mike> | 2014-12-15 02:27:27 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2014-12-15 02:27:27 +0100 |
commit | 881f48f9808a950f8e046a3b299db0269506a87d (patch) | |
tree | 43584223f3b77d77af5a3515b3191c21fd012f01 /src/lj_api.c | |
parent | b93b624ad88a9455cb3f12db93a9c5e153ff8a62 (diff) | |
download | luajit-881f48f9808a950f8e046a3b299db0269506a87d.tar.gz luajit-881f48f9808a950f8e046a3b299db0269506a87d.tar.bz2 luajit-881f48f9808a950f8e046a3b299db0269506a87d.zip |
Cleanup of frame handling. No functional changes.
Diffstat (limited to 'src/lj_api.c')
-rw-r--r-- | src/lj_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_api.c b/src/lj_api.c index e27123bf..1ccd7be1 100644 --- a/src/lj_api.c +++ b/src/lj_api.c | |||
@@ -1102,7 +1102,7 @@ LUA_API int lua_yield(lua_State *L, int nresults) | |||
1102 | setcont(top+1, lj_cont_hook); | 1102 | setcont(top+1, lj_cont_hook); |
1103 | setframe_pc(top+1, cframe_pc(cf)-1); | 1103 | setframe_pc(top+1, cframe_pc(cf)-1); |
1104 | setframe_gc(top+2, obj2gco(L)); | 1104 | setframe_gc(top+2, obj2gco(L)); |
1105 | setframe_ftsz(top+2, (int)((char *)(top+3)-(char *)L->base)+FRAME_CONT); | 1105 | setframe_ftsz(top+2, ((char *)(top+3)-(char *)L->base)+FRAME_CONT); |
1106 | L->top = L->base = top+3; | 1106 | L->top = L->base = top+3; |
1107 | #if LJ_TARGET_X64 | 1107 | #if LJ_TARGET_X64 |
1108 | lj_err_throw(L, LUA_YIELD); | 1108 | lj_err_throw(L, LUA_YIELD); |