Re-enable the flow graph dumping.

It's still in a bogus place, but it's necessary.
This commit is contained in:
Bill Currie 2012-11-06 18:21:06 +09:00
parent 3c79f07705
commit 8817c4a1c2

View file

@ -646,6 +646,9 @@ emit_function (function_t *f, expr_t *e)
flow_build_vars (f); flow_build_vars (f);
f->graph = flow_build_graph (f->sblock); f->graph = flow_build_graph (f->sblock);
flow_data_flow (f); flow_data_flow (f);
if (options.block_dot.flow)
print_flowgraph (f->graph, nva ("%s.%s.%s.dot", GETSTR (pr.source_file),
f->name, "flow"));
emit_statements (f->sblock); emit_statements (f->sblock);
} }