diff options
| author | 2023-06-04 09:45:19 +0200 | |
|---|---|---|
| committer | 2023-06-04 10:20:27 +0200 | |
| commit | 73eaec109d01368dcc1869b1167adb6db7827bc9 (patch) | |
| tree | 4cef30912120d378e9343b8f571d607a97c22f1b /amd64/sysv.c | |
| parent | 2ca24f83c35b253593b5aa8775d37923c8383149 (diff) | |
goof
Diffstat (limited to 'amd64/sysv.c')
| -rw-r--r-- | amd64/sysv.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/amd64/sysv.c b/amd64/sysv.c index be9fbde..bc0b5d2 100644 --- a/amd64/sysv.c +++ b/amd64/sysv.c @@ -103,7 +103,11 @@ abiret(short r[2], uchar cls[2], int *ni, union irtype typ) { int ret; - if (!typ.isagg) return kisflt(cls[0] = typ.cls) ? XMM0 : RAX; + if (!typ.isagg) { + r[0] = kisflt(cls[0] = typ.cls) ? XMM0 : RAX; + return 1; + } + cls[0] = cls[1] = 0; ret = classify(cls, &typedata[typ.dat], 0); if (!ret) { /* MEMORY */ |