aboutsummaryrefslogtreecommitdiffhomepage
path: root/regalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'regalloc.c')
-rw-r--r--regalloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/regalloc.c b/regalloc.c
index 92d2b30..5810079 100644
--- a/regalloc.c
+++ b/regalloc.c
@@ -110,6 +110,11 @@ regalloc(struct function *fn)
if (ins->r.t) use(blk, ins->op, hint1, &ins->r);
}
} while ((blk = blk->lprev) != last);
+
+ if (ccopt.dbg.r) {
+ efmt("after regalloc:\n");
+ irdump(fn, fn->name);
+ }
}
/* vim:set ts=3 sw=3 expandtab: */