summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beasm.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2019-03-04 08:36:55 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2019-04-05 20:44:54 +0200
commit8661e326d4f90dc9749f8df60184f03ad029fba8 (patch)
tree0337c2fd01859e2d0567cdff95bbb7eef26ad47e /ir/be/beasm.c
parent4aacad60e2ba5c17db38e3e106a4947a21ac2983 (diff)
beasm: Handle operand modifier 'l' in all backends.
Diffstat (limited to 'ir/be/beasm.c')
-rw-r--r--ir/be/beasm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/be/beasm.c b/ir/be/beasm.c
index c1f28b3..6798a1e 100644
--- a/ir/be/beasm.c
+++ b/ir/be/beasm.c
@@ -435,6 +435,8 @@ bool be_is_valid_asm_operand_kind(ir_node const *const node, char const modifier
want = BE_ASM_OPERAND_IMMEDIATE;
} else if (strchr(mod_mem, modifier)) {
want = BE_ASM_OPERAND_MEMORY;
+ } else if (modifier == 'l') {
+ want = BE_ASM_OPERAND_LABEL;
} else {
be_errorf(node, "asm contains unknown modifier '%c'", modifier);
return false;