diff options
Diffstat (limited to 'arm64/abi.c')
-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 f5b605a..eef47bc 100644 --- a/arm64/abi.c +++ b/arm64/abi.c @@ -352,7 +352,7 @@ selcall(Fn *fn, Ins *i0, Ins *i1, Insl **ilp) stkblob(i1->to, &cr, fn, ilp); cty |= (cr.nfp << 2) | cr.ngp; if (cr.class & Cptr) { - cty |= 1 << 13; + cty |= 1 << 13 | 1; emit(Ocopy, Kw, R, TMP(R0), R); } else { sttmps(tmp, cr.cls, cr.nreg, i1->to, fn); |