summaryrefslogtreecommitdiffhomepage
path: root/ir/be/amd64
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/amd64
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/amd64')
-rw-r--r--ir/be/amd64/amd64_emitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/amd64/amd64_emitter.c b/ir/be/amd64/amd64_emitter.c
index 114c22b..4df79cb 100644
--- a/ir/be/amd64/amd64_emitter.c
+++ b/ir/be/amd64/amd64_emitter.c
@@ -800,7 +800,7 @@ static void amd64_register_emitters(void)
*/
static void amd64_gen_block(ir_node *block)
{
- be_gas_begin_block(block, true);
+ be_gas_begin_block(block);
if (omit_fp) {
ir_graph *irg = get_irn_irg(block);