diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-18 13:42:41 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-18 13:42:47 -0400 |
commit | 98c9cf29d337c4bc9aa483e8479c61584e0e09aa (patch) | |
tree | 3cb41a94b6d692b6967853e363b5b4549e5e6802 /spill.c | |
parent | b8709501f944cb6421c6b4c447acfe8870c4ccc1 (diff) | |
download | roux-98c9cf29d337c4bc9aa483e8479c61584e0e09aa.tar.gz |
output debug to stderr in spiller
Diffstat (limited to 'spill.c')
-rw-r--r-- | spill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spill.c b/spill.c index a567779..f478557 100644 --- 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); |