summary refs log tree commit diff
path: root/rv64
diff options
context:
space:
mode:
Diffstat (limited to 'rv64')
-rw-r--r--rv64/abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rv64/abi.c b/rv64/abi.c
index ae53c61..0baaa67 100644
--- a/rv64/abi.c
+++ b/rv64/abi.c
@@ -307,8 +307,8 @@ argsclass(Ins *i0, Ins *i1, Class *carg, int retptr)
 			break;
 		case Opare:
 		case Oarge:
-			*c->cls = Kl;
 			*c->reg = T5;
+			*c->cls = Kl;
 			envc = 1;
 			break;
 		}