aboutsummaryrefslogtreecommitdiff
path: root/arm64
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2026-01-06 20:21:19 +0100
committerQuentin Carbonneaux <[email protected]>2026-01-06 20:43:42 +0100
commit0f6bbb1c7cfef879096f5e8e8e23951ac02dbab0 (patch)
tree546176dfc75464369569b1d280643063c2657adc /arm64
parent73f0accb45f80d697e054ee95e9c82adbc512c99 (diff)
arm64_apple: fix argxbh support
Diffstat (limited to 'arm64')
-rw-r--r--arm64/abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64/abi.c b/arm64/abi.c
index 7a2b6f9..2bafec7 100644
--- a/arm64/abi.c
+++ b/arm64/abi.c
@@ -429,7 +429,7 @@ selcall(Fn *fn, Ins *i0, Ins *i1, Insl **ilp)
for (i=i0, c=ca; i<i1; i++, c++) {
if ((c->class & Cstk) != 0)
continue;
- if (i->op == Oarg || i->op == Oarge)
+ if (i->op == Oarg || i->op == Oarge || isargbh(i->op))
emit(Ocopy, *c->cls, TMP(*c->reg), i->arg[0], R);
if (i->op == Oargc)
ldregs(c->reg, c->cls, c->nreg, i->arg[1], fn);