diff options
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 4942c1d6..3a8448b5 100644 --- a/src/lj_api.c +++ b/src/lj_api.c | |||
@@ -1104,7 +1104,7 @@ LUA_API int lua_yield(lua_State *L, int nresults) | |||
1104 | setcont(top+1, lj_cont_hook); | 1104 | setcont(top+1, lj_cont_hook); |
1105 | setframe_pc(top+1, cframe_pc(cf)-1); | 1105 | setframe_pc(top+1, cframe_pc(cf)-1); |
1106 | setframe_gc(top+2, obj2gco(L)); | 1106 | setframe_gc(top+2, obj2gco(L)); |
1107 | top[2].fr.tp.ftsz = (int)((char *)(top+3)-(char *)L->base)+FRAME_CONT; | 1107 | setframe_ftsz(top+2, (int)((char *)(top+3)-(char *)L->base)+FRAME_CONT); |
1108 | L->top = L->base = top+3; | 1108 | L->top = L->base = top+3; |
1109 | } | 1109 | } |
1110 | #if LJ_TARGET_X64 | 1110 | #if LJ_TARGET_X64 |