mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
Print the depth-first order of the flow graph nodes.
This commit is contained in:
parent
acc3beb6ab
commit
d6d03a63b4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue