mirror of https://github.com/rusefi/lua.git
details.
This commit is contained in:
parent
6233d21c9d
commit
677188de8a
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: lopcodes.h,v 1.28 1999/02/25 19:13:56 roberto Exp roberto $
|
** $Id: lopcodes.h,v 1.29 1999/02/26 15:19:54 roberto Exp roberto $
|
||||||
** Opcodes for Lua virtual machine
|
** Opcodes for Lua virtual machine
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -65,8 +65,8 @@ SETTABLEPOPDUP,/* - v i t v t[i]=v */
|
||||||
SETTABLE,/* b v a_b...a_1 i t a_b...a_1 i t t[i]=v */
|
SETTABLE,/* b v a_b...a_1 i t a_b...a_1 i t t[i]=v */
|
||||||
SETTABLEDUP,/* b v a_b...a_1 i t v a_b...a_1 i t t[i]=v */
|
SETTABLEDUP,/* b v a_b...a_1 i t v a_b...a_1 i t t[i]=v */
|
||||||
|
|
||||||
SETLISTW,/* w c v_c...v_1 t - t[i+w*FPF]=v_i */
|
SETLISTW,/* w c v_c...v_1 t t t[i+w*FPF]=v_i */
|
||||||
SETLIST,/* b c v_c...v_1 t - t[i+b*FPF]=v_i */
|
SETLIST,/* b c v_c...v_1 t t t[i+b*FPF]=v_i */
|
||||||
|
|
||||||
SETMAP,/* b v_b k_b ...v_0 k_0 t t t[k_i]=v_i */
|
SETMAP,/* b v_b k_b ...v_0 k_0 t t t[k_i]=v_i */
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ IFFUPJMP,/* b x - (x==nil)? PC-=b */
|
||||||
CLOSUREW,/* w c v_c...v_1 closure(CNST[w], v_c...v_1) */
|
CLOSUREW,/* w c v_c...v_1 closure(CNST[w], v_c...v_1) */
|
||||||
CLOSURE,/* b c v_c...v_1 closure(CNST[b], v_c...v_1) */
|
CLOSURE,/* b c v_c...v_1 closure(CNST[b], v_c...v_1) */
|
||||||
|
|
||||||
CALLFUNC,/* b c v_c...v_1 f r_b...r_1 f(v1,...,v_c) */
|
CALL,/* b c v_c...v_1 f r_b...r_1 f(v1,...,v_c) */
|
||||||
|
|
||||||
SETLINEW,/* w - - LINE=w */
|
SETLINEW,/* w - - LINE=w */
|
||||||
SETLINE,/* b - - LINE=b */
|
SETLINE,/* b - - LINE=b */
|
||||||
|
|
4
lvm.c
4
lvm.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: lvm.c,v 1.50 1999/02/23 13:38:38 roberto Exp roberto $
|
** $Id: lvm.c,v 1.51 1999/02/24 17:55:51 roberto Exp roberto $
|
||||||
** Lua virtual machine
|
** Lua virtual machine
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -619,7 +619,7 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base) {
|
||||||
luaC_checkGC();
|
luaC_checkGC();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CALLFUNC: aux = *pc++; {
|
case CALL: aux = *pc++; {
|
||||||
StkId newBase = (S->top-S->stack)-(*pc++);
|
StkId newBase = (S->top-S->stack)-(*pc++);
|
||||||
luaD_call(newBase, aux);
|
luaD_call(newBase, aux);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue