mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Make the dags in flow graphs a little easier to read.
This commit is contained in:
parent
db605fa998
commit
c1776fc2ad
2 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ print_node (dstring_t *dstr, dagnode_t *node)
|
|||
void
|
||||
print_dag (dstring_t *dstr, dagnode_t *dag)
|
||||
{
|
||||
dasprintf (dstr, " subgraph dag_%p {", dag);
|
||||
dasprintf (dstr, " subgraph cluster_dag_%p {", dag);
|
||||
print_count++;
|
||||
print_root_nodes (dstr, dag);
|
||||
print_child_nodes (dstr, dag);
|
||||
|
|
|
@ -89,7 +89,7 @@ print_flow_node (dstring_t *dstr, flowgraph_t *graph, flownode_t *node,
|
|||
dasprintf (dstr, "%*s}\n", indent, "");
|
||||
}
|
||||
if (node->dag) {
|
||||
dasprintf (dstr, " fn_%p -> dagnode_%p;", node, node->dag);
|
||||
dasprintf (dstr, " fn_%p -> dagnode_%p;\n", node, node->dag);
|
||||
print_dag (dstr, node->dag);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue