From 349794f3e4f11e4cc34a501ba935a2a305229738 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 8 Mar 2022 15:33:21 +0100 Subject: cosmetics --- amd64/sysv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amd64') diff --git a/amd64/sysv.c b/amd64/sysv.c index 7dc5981..7287f41 100644 --- a/amd64/sysv.c +++ b/amd64/sysv.c @@ -127,7 +127,7 @@ selret(Blk *b, Fn *fn) if (aret.inmem) { assert(rtype(fn->retr) == RTmp); emit(Ocopy, Kl, TMP(RAX), fn->retr, R); - blit(fn->retr, 0, r0, aret.type->size, fn); + blit0(fn->retr, r0, aret.type->size, fn); ca = 1; } else { ca = retr(reg, &aret); @@ -413,7 +413,7 @@ selcall(Fn *fn, Ins *i0, Ins *i1, RAlloc **rap) if (i->op == Oargc) { if (a->align == 4) off += off & 15; - blit(r, off, i->arg[1], a->type->size, fn); + blit(r, off, i->arg[1], 0, a->type->size, fn); } else { r1 = newtmp("abi", Kl, fn); emit(Ostorel, 0, R, i->arg[0], r1); -- cgit 1.4.1