mirror of
git://c9x.me/qbe.git
synced 2026-04-07 10:59:47 +00:00
fix debug output of liveness
This commit is contained in:
parent
a18e0ef50f
commit
cb4d738c36
@ -97,11 +97,11 @@ Again:
|
|||||||
if (debug['L']) {
|
if (debug['L']) {
|
||||||
fprintf(stderr, "\n> Liveness analysis:\n");
|
fprintf(stderr, "\n> Liveness analysis:\n");
|
||||||
for (b=f->start; b; b=b->link) {
|
for (b=f->start; b; b=b->link) {
|
||||||
printf("\t%-10s in: ", b->name);
|
fprintf(stderr, "\t%-10sin: ", b->name);
|
||||||
dumpts(&b->in, f->tmp, stderr);
|
dumpts(&b->in, f->tmp, stderr);
|
||||||
printf("\t out: ");
|
fprintf(stderr, "\t out: ");
|
||||||
dumpts(&b->out, f->tmp, stderr);
|
dumpts(&b->out, f->tmp, stderr);
|
||||||
printf("\t nlive: %d\n", b->nlive);
|
fprintf(stderr, "\t live: %d\n", b->nlive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user