summaryrefslogtreecommitdiffhomepage
path: root/ir/be/TEMPLATE
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/TEMPLATE
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/TEMPLATE')
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_emitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/TEMPLATE/TEMPLATE_emitter.c b/ir/be/TEMPLATE/TEMPLATE_emitter.c
index d3f814d..44d8146 100644
--- a/ir/be/TEMPLATE/TEMPLATE_emitter.c
+++ b/ir/be/TEMPLATE/TEMPLATE_emitter.c
@@ -159,7 +159,7 @@ static void TEMPLATE_register_emitters(void)
*/
static void TEMPLATE_emit_block(ir_node *block)
{
- be_gas_begin_block(block, true);
+ be_gas_begin_block(block);
sched_foreach(block, node) {
be_emit_node(node);