mirror of
git://c9x.me/qbe.git
synced 2026-04-07 10:59:47 +00:00
small fix in memory refs emission
This commit is contained in:
parent
10ef1c132b
commit
9c29630dbf
@ -128,6 +128,8 @@ Next:
|
|||||||
}
|
}
|
||||||
if (m->offset.type != CUndef)
|
if (m->offset.type != CUndef)
|
||||||
emitcon(&m->offset, f);
|
emitcon(&m->offset, f);
|
||||||
|
if (req(m->base, R) && req(m->index, R))
|
||||||
|
break;
|
||||||
fputc('(', f);
|
fputc('(', f);
|
||||||
if (!req(m->base, R))
|
if (!req(m->base, R))
|
||||||
fprintf(f, "%%%s", rsub[m->base.val][SLong]);
|
fprintf(f, "%%%s", rsub[m->base.val][SLong]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user