Rearrange the fields in Ins so the bit-fields get packed together

This commit is contained in:
Michael Forney 2019-02-14 13:23:28 -08:00 committed by Quentin Carbonneaux
parent b777cd6c4b
commit f622efa05a
6 changed files with 12 additions and 15 deletions

View file

@ -313,10 +313,7 @@ stkblob(Ref r, Class *c, Fn *fn, Insl **ilp)
al = c->t->align - 2; /* NAlign == 3 */
if (al < 0)
al = 0;
il->i = (Ins){
Oalloc + al, r,
{getcon(c->t->size, fn)}, Kl
};
il->i = (Ins){Oalloc+al, Kl, r, {getcon(c->t->size, fn)}};
il->link = *ilp;
*ilp = il;
}