summaryrefslogtreecommitdiff
path: root/opt
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-14 00:38:35 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-14 00:38:35 -0400
commit6a5373b289e74fb66819266a4b2fcfab5de23913 (patch)
tree6faf442fc682531171702c3e73b82fab6b557f60 /opt
parent8f38494ab79c5fa806b9860c3b0a47f9e5ecaf34 (diff)
downloadmc-6a5373b289e74fb66819266a4b2fcfab5de23913.tar.gz
Improve debug prints.
Name things closer to what they're called in the data structures.
Diffstat (limited to 'opt')
-rw-r--r--opt/cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opt/cfg.c b/opt/cfg.c
index 50b4aa8..3387014 100644
--- a/opt/cfg.c
+++ b/opt/cfg.c
@@ -139,7 +139,7 @@ void dumpcfg(Cfg *cfg, FILE *fd)
fprintf(fd, ")\n");
/* in edges */
- fprintf(fd, "In: ");
+ fprintf(fd, "Pred: ");
sep = "";
for (i = 0; i < bsmax(bb->pred); i++) {
if (bshas(bb->pred, i)) {
@@ -150,7 +150,7 @@ void dumpcfg(Cfg *cfg, FILE *fd)
fprintf(fd, "\n");
/* out edges */
- fprintf(fd, "Out: ");
+ fprintf(fd, "Succ: ");
sep = "";
for (i = 0; i < bsmax(bb->succ); i++) {
if (bshas(bb->succ, i)) {