summary refs log tree commit diff
path: root/rv64/abi.c
diff options
context:
space:
mode:
Diffstat (limited to 'rv64/abi.c')
-rw-r--r--rv64/abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rv64/abi.c b/rv64/abi.c
index 05deabe..b49057b 100644
--- a/rv64/abi.c
+++ b/rv64/abi.c
@@ -105,7 +105,7 @@ typclass(Class *c, Typ *t, int *gp, int *fp)
 	if (t->align > 4)
 		err("alignments larger than 16 are not supported");
 
-	if (t->dark || sz > 16 || sz == 0) {
+	if (t->isdark || sz > 16 || sz == 0) {
 		/* large structs are replaced by a
 		 * pointer to some caller-allocated
 		 * memory */