no more 'OP_CLOSE' instructions (use jumps to close upvalues)
This commit is contained in:
5
lvm.c
5
lvm.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lvm.c,v 2.128 2011/02/01 18:03:10 roberto Exp roberto $
|
||||
** $Id: lvm.c,v 2.129 2011/02/01 18:32:55 roberto Exp roberto $
|
||||
** Lua virtual machine
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -793,9 +793,6 @@ void luaV_execute (lua_State *L) {
|
||||
}
|
||||
L->top = ci->top; /* correct top (in case of previous open call) */
|
||||
)
|
||||
vmcase(OP_CLOSE,
|
||||
luaF_close(L, ra);
|
||||
)
|
||||
vmcase(OP_CLOSURE,
|
||||
Proto *p = cl->p->p[GETARG_Bx(i)];
|
||||
Closure *ncl = getcached(p, cl->upvals, base); /* cached closure */
|
||||
|
||||
Reference in New Issue
Block a user