aboutsummaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authorMichael Forney <[email protected]>2019-02-14 13:23:28 -0800
committerQuentin Carbonneaux <[email protected]>2019-03-14 10:12:55 +0100
commitf622efa05a3fbd4938d1fb09e692ae0785770bc1 (patch)
treedb5fafeb08735aa6ac3127597b61a6b149982b55 /load.c
parentb777cd6c4becf0d834f8fa549315fa11918a53be (diff)
Rearrange the fields in Ins so the bit-fields get packed together
Diffstat (limited to 'load.c')
-rw-r--r--load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.c b/load.c
index c8471f6..8e2dd64 100644
--- a/load.c
+++ b/load.c
@@ -77,7 +77,7 @@ iins(int cls, int op, Ref a0, Ref a1, Loc *l)
ist->num = inum++;
ist->bid = l->blk->id;
ist->off = l->off;
- ist->new.ins = (Ins){op, R, {a0, a1}, cls};
+ ist->new.ins = (Ins){op, cls, R, {a0, a1}};
return ist->new.ins.to = newtmp("ld", cls, curf);
}