aboutsummaryrefslogtreecommitdiffhomepage
path: root/abi0.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-04 13:14:55 +0200
committerlemon <lsof@mailbox.org>2023-06-04 13:14:55 +0200
commit45cd3d8d6eeccc42f7e0b23f7871b29f3ce6f7e7 (patch)
treeea061c761ec71a8648748957ef2dc9bbb3a34a20 /abi0.c
parentb295cd602d59888c373819ec3bcd63e12f008702 (diff)
oops
Diffstat (limited to 'abi0.c')
-rw-r--r--abi0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/abi0.c b/abi0.c
index 2684e39..099364a 100644
--- a/abi0.c
+++ b/abi0.c
@@ -135,6 +135,7 @@ patcharg(union ref newargs[2], union irtype newtyps[2], struct block *blk, int *
ins.l = insertinstr(blk, (*icall)++ - 1,
mkinstr(Oadd, KPTR, src,
mkref(RICON, cls2siz[abi[0].ty.cls])));
+ newtyps[i] = (union irtype) { .cls = ins.cls };
newargs[i] = insertinstr(blk, (*icall)++ - 1, ins);
}
return nabi;