aboutsummaryrefslogtreecommitdiffhomepage
path: root/abi0.c
diff options
context:
space:
mode:
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;