diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-14 13:23:28 -0800 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2019-03-14 10:12:55 +0100 |
commit | f622efa05a3fbd4938d1fb09e692ae0785770bc1 (patch) | |
tree | db5fafeb08735aa6ac3127597b61a6b149982b55 /load.c | |
parent | b777cd6c4becf0d834f8fa549315fa11918a53be (diff) | |
download | roux-f622efa05a3fbd4938d1fb09e692ae0785770bc1.tar.gz |
Rearrange the fields in Ins so the bit-fields get packed together
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 2 |
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); } |