Print the depth-first order of the flow graph nodes.

This commit is contained in:
Bill Currie 2012-11-05 13:49:10 +09:00
parent acc3beb6ab
commit d6d03a63b4

View file

@ -54,8 +54,8 @@ print_flow_node (dstring_t *dstr, flownode_t *node, int level)
{ {
int indent = level * 2 + 2; int indent = level * 2 + 2;
dasprintf (dstr, "%*s\"fn_%p\" [label=\"%d\"];\n", indent, "", node, dasprintf (dstr, "%*s\"fn_%p\" [label=\"%d (%d)\"];\n", indent, "", node,
node->id); node->id, node->dfn);
} }
static void static void