summary refs log tree commit diff
path: root/arm64
diff options
context:
space:
mode:
Diffstat (limited to 'arm64')
-rw-r--r--arm64/abi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arm64/abi.c b/arm64/abi.c
index eef47bc..5fe9553 100644
--- a/arm64/abi.c
+++ b/arm64/abi.c
@@ -423,6 +423,7 @@ selpar(Fn *fn, Ins *i0, Ins *i1)
 	curi = &insb[NIns];
 
 	cty = argsclass(i0, i1, ca, &env);
+	fn->reg = arm64_argregs(CALL(cty), 0);
 
 	il = 0;
 	t = tmp;