mirror of
git://c9x.me/qbe.git
synced 2026-04-05 09:59:47 +00:00
output debug to stderr in spiller
This commit is contained in:
parent
b8709501f9
commit
98c9cf29d3
4
spill.c
4
spill.c
@ -490,8 +490,8 @@ spill(Fn *fn)
|
||||
if (debug['S']) {
|
||||
fprintf(stderr, "\n> Block information:\n");
|
||||
for (b=fn->start; b; b=b->link) {
|
||||
printf("\t%-10s (% 5d) ", b->name, b->loop);
|
||||
dumpts(b->out, fn->tmp, stdout);
|
||||
fprintf(stderr, "\t%-10s (% 5d) ", b->name, b->loop);
|
||||
dumpts(b->out, fn->tmp, stderr);
|
||||
}
|
||||
fprintf(stderr, "\n> After spilling:\n");
|
||||
printfn(fn, stderr);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user