small optimizations

This commit is contained in:
Roberto Ierusalimschy
2005-04-05 10:41:29 -03:00
parent 0316308c0d
commit 7b6c3b463e
5 changed files with 33 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.c,v 2.27 2005/03/18 18:55:45 roberto Exp roberto $
** $Id: lstate.c,v 2.28 2005/03/22 16:04:29 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -94,6 +94,7 @@ static void preinit_state (lua_State *L, global_State *g) {
L->nCcalls = 0;
L->status = 0;
L->base_ci = L->ci = NULL;
L->savedpc = NULL;
L->errfunc = 0;
setnilvalue(gt(L));
}