mirror of https://github.com/rusefi/lua.git
comments
This commit is contained in:
parent
544eeb1f9c
commit
dea54a7c71
9
lvm.c
9
lvm.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: lvm.c,v 1.70 1999/12/06 11:40:55 roberto Exp roberto $
|
** $Id: lvm.c,v 1.71 1999/12/06 19:30:53 roberto Exp roberto $
|
||||||
** Lua virtual machine
|
** Lua virtual machine
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -286,9 +286,8 @@ static void adjust_varargs (lua_State *L, StkId base, int nfixargs) {
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Execute the given opcode, until a RET. Parameters are between
|
** Executes the given Lua function. Parameters are between [base,top).
|
||||||
** [stack+base,top). Returns n such that the the results are between
|
** Returns n such that the the results are between [n,top).
|
||||||
** [stack+n,top).
|
|
||||||
*/
|
*/
|
||||||
StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf,
|
StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf,
|
||||||
StkId base) {
|
StkId base) {
|
||||||
|
@ -313,7 +312,7 @@ StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf,
|
||||||
case ENDCODE:
|
case ENDCODE:
|
||||||
top = base;
|
top = base;
|
||||||
goto ret;
|
goto ret;
|
||||||
|
|
||||||
case RETCODE:
|
case RETCODE:
|
||||||
base += *pc++;
|
base += *pc++;
|
||||||
goto ret;
|
goto ret;
|
||||||
|
|
Loading…
Reference in New Issue