summary refs log tree commit diff
path: root/arm64/abi.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-14 13:23:28 -0800
committerQuentin Carbonneaux <quentin@c9x.me>2019-03-14 10:12:55 +0100
commitf622efa05a3fbd4938d1fb09e692ae0785770bc1 (patch)
treedb5fafeb08735aa6ac3127597b61a6b149982b55 /arm64/abi.c
parentb777cd6c4becf0d834f8fa549315fa11918a53be (diff)
downloadroux-f622efa05a3fbd4938d1fb09e692ae0785770bc1.tar.gz
Rearrange the fields in Ins so the bit-fields get packed together
Diffstat (limited to 'arm64/abi.c')
-rw-r--r--arm64/abi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arm64/abi.c b/arm64/abi.c
index 1c97ef3..846ac87 100644
--- a/arm64/abi.c
+++ b/arm64/abi.c
@@ -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;
 }