commit cb4d738c36072b33a1068c79c6f24372a7b6d6e2
parent a18e0ef50f677afbffe0c122d012ffe8c1c3d8b0
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Mon, 5 Oct 2015 16:14:04 -0400
fix debug output of liveness
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisc/live.c b/lisc/live.c
@@ -97,11 +97,11 @@ Again:
if (debug['L']) {
fprintf(stderr, "\n> Liveness analysis:\n");
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);
- printf("\t out: ");
+ fprintf(stderr, "\t out: ");
dumpts(&b->out, f->tmp, stderr);
- printf("\t nlive: %d\n", b->nlive);
+ fprintf(stderr, "\t live: %d\n", b->nlive);
}
}
}