summaryrefslogtreecommitdiffhomepage
path: root/ir/ir
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2019-04-01 20:42:25 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2019-04-01 20:42:25 +0200
commitdf933a168ed74d6adeed41c124cc464d913fca9e (patch)
treedb47360db9a53938a3735ec765ce231b83a68737 /ir/ir
parentc2e59e88e4c95a3f626d22cd02ce86406888c41f (diff)
dump: Dump throwing nodes also in the control flow color (red).
Diffstat (limited to 'ir/ir')
-rw-r--r--ir/ir/irdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/ir/irdump.c b/ir/ir/irdump.c
index 75f4c8c..e4f6fed 100644
--- a/ir/ir/irdump.c
+++ b/ir/ir/irdump.c
@@ -858,7 +858,7 @@ static void dump_node_vcgattr(FILE *F, const ir_node *node, const ir_node *local
ir_op *op = get_irn_op(n);
if (is_op_constlike(op)) {
print_vcg_color(F, ird_color_const);
- } else if (is_op_cfopcode(op) || is_op_forking(op)) {
+ } else if (is_op_cfopcode(op) || is_op_forking(op) || (is_op_fragile(op) && ir_throws_exception(n))) {
print_vcg_color(F, ird_color_controlflow);
} else if (is_op_uses_memory(op)) {
print_vcg_color(F, ird_color_memory);