From f622efa05a3fbd4938d1fb09e692ae0785770bc1 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 14 Feb 2019 13:23:28 -0800 Subject: Rearrange the fields in Ins so the bit-fields get packed together --- parse.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'parse.c') diff --git a/parse.c b/parse.c index fd3f609..c6f16ea 100644 --- a/parse.c +++ b/parse.c @@ -462,19 +462,19 @@ parserefl(int arg) err("invalid function parameter"); if (k == 4) if (arg) - *curi = (Ins){Oargc, R, {TYPE(ty), r}, Kl}; + *curi = (Ins){Oargc, Kl, R, {TYPE(ty), r}}; else - *curi = (Ins){Oparc, r, {TYPE(ty)}, Kl}; + *curi = (Ins){Oparc, Kl, r, {TYPE(ty)}}; else if (env) if (arg) - *curi = (Ins){Oarge, R, {r}, k}; + *curi = (Ins){Oarge, k, R, {r}}; else - *curi = (Ins){Opare, r, {R}, k}; + *curi = (Ins){Opare, k, r, {R}}; else if (arg) - *curi = (Ins){Oarg, R, {r}, k}; + *curi = (Ins){Oarg, k, R, {r}}; else - *curi = (Ins){Opar, r, {R}, k}; + *curi = (Ins){Opar, k, r, {R}}; curi++; hasenv |= env; if (peek() == Trparen) -- cgit 1.4.1