diff options
| author | 2023-06-05 09:32:17 +0200 | |
|---|---|---|
| committer | 2023-06-05 09:32:17 +0200 | |
| commit | efc0cf8039cbff5e0f0d52fd7414c7186129b6ac (patch) | |
| tree | 27aabd39ebe1c778f052edaf7088eded379f0108 /regalloc.c | |
| parent | 6ce2ac20e1d9095281a233aeb778d0fa2c82dd74 (diff) | |
command line switch for debug options
Diffstat (limited to 'regalloc.c')
| -rw-r--r-- | regalloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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: */ |