a better way to control optimizations.

This commit is contained in:
Roberto Ierusalimschy
2000-03-04 17:18:15 -03:00
parent 29e0193425
commit 563de491be
6 changed files with 220 additions and 194 deletions

8
lvm.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lvm.c,v 1.89 2000/02/22 18:12:46 roberto Exp roberto $
** $Id: lvm.c,v 1.90 2000/03/03 14:58:26 roberto Exp roberto $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -348,10 +348,10 @@ StkId luaV_execute (lua_State *L, const Closure *cl, const TProtoFunc *tf,
return base+GETARG_B(i);
case PUSHNIL: {
register int n = GETARG_U(i);
do {
int n = GETARG_U(i);
do {
ttype(top++) = LUA_T_NIL;
} while (n--);
} while (--n > 0);
break;
}