mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
the wide bit of OAddr matters!
This commit is contained in:
parent
7594f57a3e
commit
0f0290c1db
@ -243,7 +243,7 @@ Emit:
|
||||
|
||||
for (n=0; n<2; n++)
|
||||
if (cpy[n].s)
|
||||
emit(OAddr, 0, cpy[n].r, SLOT(cpy[n].s), R);
|
||||
emit(OAddr, 1, cpy[n].r, SLOT(cpy[n].s), R);
|
||||
}
|
||||
|
||||
static Ins *
|
||||
@ -426,7 +426,7 @@ isel(Fn *fn)
|
||||
s = rslot(p->arg[a], fn);
|
||||
if (s) {
|
||||
p->arg[a] = newtmp(fn);
|
||||
emit(OAddr, 0, p->arg[a], SLOT(s), R);
|
||||
emit(OAddr, 1, p->arg[a], SLOT(s), R);
|
||||
}
|
||||
}
|
||||
curi = &insb[NIns];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user