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

@ -345,7 +345,7 @@ selcall(Fn *fn, Ins *i0, Ins *i1, RAlloc **rap)
ra = alloc(sizeof *ra);
/* specific to NAlign == 3 */
al = aret.align >= 2 ? aret.align - 2 : 0;
ra->i = (Ins){Oalloc+al, r1, {getcon(aret.size, fn)}, Kl};
ra->i = (Ins){Oalloc+al, Kl, r1, {getcon(aret.size, fn)}};
ra->link = (*rap);
*rap = ra;
} else {