graph output: use better colors for edges
gcc/ChangeLog: * graph.c (draw_cfg_node_succ_edges): Do not color fallthru edges and rather use colors for TRUE and FALSE edges.
This commit is contained in:
parent
13a43a90ae
commit
a61623d9b3
1 changed files with 5 additions and 4 deletions
|
@ -133,10 +133,11 @@ draw_cfg_node_succ_edges (pretty_printer *pp, int funcdef_no, basic_block bb)
|
|||
weight = 10;
|
||||
}
|
||||
else if (e->flags & EDGE_FALLTHRU)
|
||||
{
|
||||
color = "blue";
|
||||
weight = 100;
|
||||
}
|
||||
weight = 100;
|
||||
else if (e->flags & EDGE_TRUE_VALUE)
|
||||
color = "forestgreen";
|
||||
else if (e->flags & EDGE_FALSE_VALUE)
|
||||
color = "darkorange";
|
||||
|
||||
if (e->flags & EDGE_ABNORMAL)
|
||||
color = "red";
|
||||
|
|
Loading…
Add table
Reference in a new issue