mirror of
git://c9x.me/qbe.git
synced 2026-05-26 15:34:41 +00:00
asserts in emitcon()
This commit is contained in:
parent
a9796317aa
commit
b8b95a99df
@ -195,11 +195,13 @@ emitcon(Con *con, E *e)
|
||||
case CAddr:
|
||||
l = str(con->sym.id);
|
||||
p = l[0] == '"' ? "" : T.assym;
|
||||
if (con->sym.type & SThr) {
|
||||
if (con->sym.type == SThr) {
|
||||
assert(!T.apple);
|
||||
fprintf(e->f, "%%fs:%s%s@tpoff", p, l);
|
||||
} else
|
||||
} else {
|
||||
assert(con->sym.type == SGlo);
|
||||
fprintf(e->f, "%s%s", p, l);
|
||||
}
|
||||
if (con->bits.i)
|
||||
fprintf(e->f, "%+"PRId64, con->bits.i);
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user