summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemithlp.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2019-03-04 08:07:59 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2019-04-05 20:44:50 +0200
commit4aacad60e2ba5c17db38e3e106a4947a21ac2983 (patch)
tree1d4b47177422cf0b36b6c0782431b75c0dfe2f88 /ir/be/beemithlp.c
parent80146aaacf50c17449e07b8aac0000e5267aed59 (diff)
beasm: Add BE_ASM_OPERAND_LABEL and tell the backends how to emit it.
Diffstat (limited to 'ir/be/beemithlp.c')
-rw-r--r--ir/be/beemithlp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/beemithlp.c b/ir/be/beemithlp.c
index a24ce71..bfd823f 100644
--- a/ir/be/beemithlp.c
+++ b/ir/be/beemithlp.c
@@ -104,6 +104,12 @@ void be_emit_cfop_target(ir_node const *const jmp)
be_gas_emit_block_name(target);
}
+void be_emit_cfop_target_pos(ir_node const *const jmp, unsigned const pos)
+{
+ ir_node *const proj = get_Proj_for_pn(jmp, pos);
+ be_emit_cfop_target(proj);
+}
+
bool be_is_fallthrough(ir_node const *const jmp)
{
ir_node *const block = get_nodes_block(jmp);