qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 98c9cf29d337c4bc9aa483e8479c61584e0e09aa
parent b8709501f944cb6421c6b4c447acfe8870c4ccc1
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Mon, 18 Apr 2016 13:42:41 -0400

output debug to stderr in spiller

Diffstat:
Mspill.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spill.c b/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);