diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-04-01 13:55:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-04-01 13:55:44 -0300 |
commit | f3cfd5bf2b11ba207c71344243892645157900b7 (patch) | |
tree | 87e26a041ebbd9a91fa5862a3e312f3159b6a132 /lvm.c | |
parent | 8426d9b4d4df1da3c5b2d759e509ae1c50a86667 (diff) | |
download | lua-f3cfd5bf2b11ba207c71344243892645157900b7.tar.gz lua-f3cfd5bf2b11ba207c71344243892645157900b7.tar.bz2 lua-f3cfd5bf2b11ba207c71344243892645157900b7.zip |
Details
Comments + manual + identation + asserts about stack limits that were
not allowing the use of the full stack
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1177,7 +1177,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) { | |||
1177 | printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p))); | 1177 | printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p))); |
1178 | #endif | 1178 | #endif |
1179 | lua_assert(base == ci->func + 1); | 1179 | lua_assert(base == ci->func + 1); |
1180 | lua_assert(base <= L->top && L->top < L->stack_last); | 1180 | lua_assert(base <= L->top && L->top <= L->stack_last); |
1181 | /* invalidate top for instructions not expecting it */ | 1181 | /* invalidate top for instructions not expecting it */ |
1182 | lua_assert(isIT(i) || (cast_void(L->top = base), 1)); | 1182 | lua_assert(isIT(i) || (cast_void(L->top = base), 1)); |
1183 | vmdispatch (GET_OPCODE(i)) { | 1183 | vmdispatch (GET_OPCODE(i)) { |