summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bedump.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-05-31 14:08:59 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-05-31 14:09:14 +0200
commit3ed52021390f193cef8a317f3d1637df7296203d (patch)
tree2e8839bd80487432269120e85da8cefef2511f7c /ir/be/bedump.c
parente7a96ec68c8fb9637f067f14e47e0b5f90a0386b (diff)
be: Factor out code to decide whether a basic block needs a label.
For this a new flag 'arch_irn_flag_fallthrough' is introduced to mark nodes which are capable of falling through to their successor.
Diffstat (limited to 'ir/be/bedump.c')
-rw-r--r--ir/be/bedump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir/be/bedump.c b/ir/be/bedump.c
index 86196a8..bca5960 100644
--- a/ir/be/bedump.c
+++ b/ir/be/bedump.c
@@ -198,6 +198,7 @@ static const char *get_flag_name(arch_irn_flags_t flags)
case arch_irn_flag_schedule_first: return "schedule_first";
case arch_irn_flag_spill: return "spill";
case arch_irn_flag_reload: return "reload";
+ case arch_irn_flag_fallthrough: return "fallthrough";
case arch_irn_flag_backend:
break;
}