summaryrefslogtreecommitdiffhomepage
path: root/ir/be/riscv
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2019-03-06 23:17:57 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2019-03-06 23:19:28 +0100
commita08346ccb0d3aa7063dfed2197621880c1a6bf7a (patch)
tree47d4b609928dcf902eacd07e5cf5a10d3a5e0046 /ir/be/riscv
parent2382a039ec6f3077a875985c51c707a03488126e (diff)
Remove duplicate calls to be_set_asm_operand().
The callers of these functions do it, too.
Diffstat (limited to 'ir/be/riscv')
-rw-r--r--ir/be/riscv/riscv_transform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ir/be/riscv/riscv_transform.c b/ir/be/riscv/riscv_transform.c
index 48cab7d..4a3fae6 100644
--- a/ir/be/riscv/riscv_transform.c
+++ b/ir/be/riscv/riscv_transform.c
@@ -214,7 +214,6 @@ static bool riscv_match_immediate(riscv_asm_operand_t *const operand, ir_node *c
value = 0;
}
- be_set_asm_operand(&operand->op, BE_ASM_OPERAND_IMMEDIATE, -1);
operand->val = value;
operand->ent = entity;
return true;