diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1561,12 +1561,9 @@ void luaV_execute (lua_State *L, CallInfo *ci) { | |||
1561 | luaD_poscall(L, ci, cast_int(L->top - ra)); | 1561 | luaD_poscall(L, ci, cast_int(L->top - ra)); |
1562 | return; | 1562 | return; |
1563 | } | 1563 | } |
1564 | else { /* Lua tail call */ | 1564 | ci->func -= delta; |
1565 | ci->func -= delta; | 1565 | luaD_pretailcall(L, ci, ra, b); /* prepare call frame */ |
1566 | luaD_pretailcall(L, ci, ra, b); /* prepare call frame */ | 1566 | goto tailcall; |
1567 | goto tailcall; | ||
1568 | } | ||
1569 | vmbreak; | ||
1570 | } | 1567 | } |
1571 | vmcase(OP_RETURN) { | 1568 | vmcase(OP_RETURN) { |
1572 | int n = GETARG_B(i) - 1; /* number of results */ | 1569 | int n = GETARG_B(i) - 1; /* number of results */ |