summary refs log tree commit diff
path: root/spill.c
diff options
context:
space:
mode:
Diffstat (limited to 'spill.c')
-rw-r--r--spill.c4
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);