mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
precise OCall test in liveness
This commit is contained in:
parent
25d15ca89b
commit
a8d5c13a3e
@ -111,7 +111,8 @@ Again:
|
||||
bset(b->jmp.arg, b, &nlv, phi, f->tmp);
|
||||
b->nlive = nlv;
|
||||
for (i=&b->ins[b->nins]; i!=b->ins;) {
|
||||
if ((--i)->op == OCall) {
|
||||
if ((--i)->op == OCall)
|
||||
if (rtype(i->arg[1]) == RACall) {
|
||||
b->in.t[0] &= ~calldef(*i, &m);
|
||||
nlv -= m;
|
||||
if (nlv + NRSave > b->nlive)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user