mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
use default use/def counts in newtmp()
This is paliative, before I check that all use counts in isel.c are correct.
This commit is contained in:
parent
ebaec26046
commit
01a8102c3d
@ -200,6 +200,8 @@ newtmp(char *prfx, Fn *fn)
|
||||
vgrow(&fn->tmp, fn->ntmp);
|
||||
sprintf(fn->tmp[t].name, "%s%d", prfx, ++n);
|
||||
fn->tmp[t].slot = -1;
|
||||
fn->tmp[t].nuse = +1;
|
||||
fn->tmp[t].ndef = +1;
|
||||
return TMP(t);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user