diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-09 18:01:48 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-09 18:01:48 -0200 |
commit | dea54a7c719d27aad8c8fde2b234077310eab980 (patch) | |
tree | 809cdad84cd3a8ca048b5afe8b9378ced5aa9da2 /lvm.c | |
parent | 544eeb1f9c1fb66926fff895598d03bc5ccf96cc (diff) | |
download | lua-dea54a7c719d27aad8c8fde2b234077310eab980.tar.gz lua-dea54a7c719d27aad8c8fde2b234077310eab980.tar.bz2 lua-dea54a7c719d27aad8c8fde2b234077310eab980.zip |
comments
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.70 1999/12/06 11:40:55 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.71 1999/12/06 19:30:53 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -286,9 +286,8 @@ static void adjust_varargs (lua_State *L, StkId base, int nfixargs) { | |||
286 | 286 | ||
287 | 287 | ||
288 | /* | 288 | /* |
289 | ** Execute the given opcode, until a RET. Parameters are between | 289 | ** Executes the given Lua function. Parameters are between [base,top). |
290 | ** [stack+base,top). Returns n such that the the results are between | 290 | ** Returns n such that the the results are between [n,top). |
291 | ** [stack+n,top). | ||
292 | */ | 291 | */ |
293 | StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf, | 292 | StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf, |
294 | StkId base) { | 293 | StkId base) { |
@@ -313,7 +312,7 @@ StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf, | |||
313 | case ENDCODE: | 312 | case ENDCODE: |
314 | top = base; | 313 | top = base; |
315 | goto ret; | 314 | goto ret; |
316 | 315 | ||
317 | case RETCODE: | 316 | case RETCODE: |
318 | base += *pc++; | 317 | base += *pc++; |
319 | goto ret; | 318 | goto ret; |