diff options
| author | Quentin Carbonneaux <[email protected]> | 2026-01-06 20:21:19 +0100 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2026-01-06 20:43:42 +0100 |
| commit | 0f6bbb1c7cfef879096f5e8e8e23951ac02dbab0 (patch) | |
| tree | 546176dfc75464369569b1d280643063c2657adc | |
| parent | 73f0accb45f80d697e054ee95e9c82adbc512c99 (diff) | |
arm64_apple: fix argxbh support
| -rw-r--r-- | arm64/abi.c | 2 |
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); |
