summaryrefslogtreecommitdiff
path: root/mi/cfg.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-13 14:44:00 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-20 21:54:11 -0800
commit7096d0e99d9deb053a7763f49b2b1b7b1df20a6a (patch)
tree049ac0cb30b67389d8a1c9f7e123d5c8bdbd6dc0 /mi/cfg.c
parenteba5edcf79813be921d8116ece30c10ca65c9fb3 (diff)
downloadmc-7096d0e99d9deb053a7763f49b2b1b7b1df20a6a.tar.gz
Start refactoring
Split flattening and lowering.
Diffstat (limited to 'mi/cfg.c')
-rw-r--r--mi/cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mi/cfg.c b/mi/cfg.c
index 349dfb9..a269997 100644
--- a/mi/cfg.c
+++ b/mi/cfg.c
@@ -258,6 +258,8 @@ Cfg *mkcfg(Node *fn, Node **nl, size_t nn)
bsput(targ->pred, bb->id);
}
}
+ if (debugopt['C'])
+ dumpcfg(cfg, stdout);
trim(cfg);
return cfg;
}