diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-18 18:52:30 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-18 18:52:30 -0200 |
commit | e04f7ed4509af1577c10ead8e5d7d55c65754bf8 (patch) | |
tree | 36cfd31846b6f49c505adfbd1311ed1794689127 /lgc.c | |
parent | 101cee3032918bae8a5fa9dfc334c478c4aa15f6 (diff) | |
download | lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.gz lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.bz2 lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.zip |
first version of Lua "stackless"
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -363,8 +363,7 @@ static void do1gcTM (lua_State *L, Udata *udata) { | |||
363 | setobj(top, tm); | 363 | setobj(top, tm); |
364 | setuvalue(top+1, udata); | 364 | setuvalue(top+1, udata); |
365 | L->top += 2; | 365 | L->top += 2; |
366 | luaD_call(L, top); | 366 | luaD_call(L, top, 0); |
367 | L->top = top; /* restore top */ | ||
368 | } | 367 | } |
369 | } | 368 | } |
370 | 369 | ||