~mpu/qbe

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

Re: [PATCH] add extern linkage

Details
Message ID
<5A019CA6-991B-4A3E-8F9D-D18CC277791A@forwarding.cc>
DKIM signature
missing
Download raw message
Patch: +2 -2
Fix case where load elimination pass kicks in.


diff --git a/arm64/emit.c b/arm64/emit.c
index 5183a0f..c4159f6 100644
--- a/arm64/emit.c
+++ b/arm64/emit.c
@@ -441,8 +441,8 @@ emitins(Ins *i, E *e)
			goto Table;
		c = &e->fn->con[i->arg[0].val];
		if (c->type != CAddr
		|| c->sym.type != SGlo
		|| c->bits.i)
		|| (c->sym.type != SGlo && c->sym.type != SExt)
        || c->bits.i)
			die("invalid call argument %d, %d, %d", c->type, c->sym.type, c->bits.i);
		l = str(c->sym.id);
		p = l[0] == '"' ? "" : T.assym;
Reply to thread Export thread (mbox)