summaryrefslogtreecommitdiffhomepage
path: root/ir/be/mips
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/mips
parent4aacad60e2ba5c17db38e3e106a4947a21ac2983 (diff)
beasm: Handle operand modifier 'l' in all backends.
Diffstat (limited to 'ir/be/mips')
-rw-r--r--ir/be/mips/mips_emitter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir/be/mips/mips_emitter.c b/ir/be/mips/mips_emitter.c
index 792127d..c3e62ef 100644
--- a/ir/be/mips/mips_emitter.c
+++ b/ir/be/mips/mips_emitter.c
@@ -103,6 +103,7 @@ static void emit_mips_asm_operand(ir_node const *const node, char const modifier
mips_asm_operand_t const *const op = &((mips_asm_operand_t const*)attr->operands)[pos];
/* modifiers:
* c: plain immediate
+ * l: label only
* z: print normally, except immediate 0 as '$zero' */
if (!be_is_valid_asm_operand_kind(node, modifier, pos, op->op.kind, "z", "c", ""))
return;