diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-21 14:56:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-21 14:56:59 -0300 |
commit | 15231d4fb2f6984b25e0353ff46eda1a180b686d (patch) | |
tree | fea343d493f04539a2a9ebe46c838cc5b8a01cd5 /lstate.c | |
parent | f407b3c4a1bc9667867ec51e835c20d97aab55a2 (diff) | |
download | lua-15231d4fb2f6984b25e0353ff46eda1a180b686d.tar.gz lua-15231d4fb2f6984b25e0353ff46eda1a180b686d.tar.bz2 lua-15231d4fb2f6984b25e0353ff46eda1a180b686d.zip |
'nresults' moved into 'callstatus'
That gives us more free bits in 'callstatus', for future use.
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -177,7 +177,6 @@ static void stack_init (lua_State *L1, lua_State *L) { | |||
177 | ci->callstatus = CIST_C; | 177 | ci->callstatus = CIST_C; |
178 | ci->func.p = L1->top.p; | 178 | ci->func.p = L1->top.p; |
179 | ci->u.c.k = NULL; | 179 | ci->u.c.k = NULL; |
180 | ci->nresults = 0; | ||
181 | setnilvalue(s2v(L1->top.p)); /* 'function' entry for this 'ci' */ | 180 | setnilvalue(s2v(L1->top.p)); /* 'function' entry for this 'ci' */ |
182 | L1->top.p++; | 181 | L1->top.p++; |
183 | ci->top.p = L1->top.p + LUA_MINSTACK; | 182 | ci->top.p = L1->top.p + LUA_MINSTACK; |