1
0
mirror of https://github.com/golang/go synced 2024-11-25 06:07:58 -07:00

forgot a piece of debugging

in previous change

R=rsc
http://go/go-review/1017052
This commit is contained in:
Ken Thompson 2009-11-05 13:05:07 -08:00
parent 505fd760a2
commit 18cb960f3e

View File

@ -946,25 +946,9 @@ doasm(Prog *p)
if(pre) if(pre)
*andptr++ = pre; *andptr++ = pre;
if(p->ft == 0)
if(p->ft != 0) {
ft = oclass(&p->from);
if(ft != p->ft) {
print("***** %d %d %D\n", p->ft, ft, &p->from);
p->ft = ft;
}
}
if(p->tt != 0) {
tt = oclass(&p->to);
if(tt != p->tt) {
print("***** %d %d %D\n", p->tt, tt, &p->to);
p->tt = tt;
}
}
// if(p->ft == 0)
p->ft = oclass(&p->from); p->ft = oclass(&p->from);
// if(p->tt == 0) if(p->tt == 0)
p->tt = oclass(&p->to); p->tt = oclass(&p->to);
ft = p->ft * Ymax; ft = p->ft * Ymax;