Move free node pos to t->node[0].freetop. Saves 4 bytes in GCtab.
This commit is contained in:
@@ -200,6 +200,7 @@ LUA_API lua_State *lua_newstate(lua_Alloc f, void *ud)
|
||||
setnilV(registry(L));
|
||||
setnilV(&g->nilnode.val);
|
||||
setnilV(&g->nilnode.key);
|
||||
setmref(g->nilnode.freetop, &g->nilnode);
|
||||
lj_str_initbuf(L, &g->tmpbuf);
|
||||
g->gc.state = GCSpause;
|
||||
setgcref(g->gc.root, obj2gco(L));
|
||||
|
||||
Reference in New Issue
Block a user