Reorder various structs to reduce padding (thanks to /usr/bin/pahole).

This commit is contained in:
Mike Pall
2010-03-15 23:29:10 +01:00
parent 1fea5cb822
commit 37a3ca330f
7 changed files with 15 additions and 15 deletions

View File

@@ -203,7 +203,7 @@ LUA_API lua_State *lua_newstate(lua_Alloc f, void *ud)
lj_str_initbuf(L, &g->tmpbuf);
g->gc.state = GCSpause;
setgcref(g->gc.root, obj2gco(L));
g->gc.sweep = &g->gc.root;
setmref(g->gc.sweep, &g->gc.root);
g->gc.total = sizeof(GG_State);
g->gc.pause = LUAI_GCPAUSE;
g->gc.stepmul = LUAI_GCMUL;