summaryrefslogtreecommitdiffhomepage
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
parent2382a039ec6f3077a875985c51c707a03488126e (diff)
Remove duplicate calls to be_set_asm_operand().
The callers of these functions do it, too.
-rw-r--r--ir/be/arm/arm_transform.c1
-rw-r--r--ir/be/mips/mips_transform.c1
-rw-r--r--ir/be/riscv/riscv_transform.c1
-rw-r--r--ir/be/sparc/sparc_transform.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/ir/be/arm/arm_transform.c b/ir/be/arm/arm_transform.c
index 15dd627..d246c5b 100644
--- a/ir/be/arm/arm_transform.c
+++ b/ir/be/arm/arm_transform.c
@@ -1993,7 +1993,6 @@ static bool arm_match_immediate(arm_asm_operand_t *const operand, ir_node *const
value = 0;
}
- be_set_asm_operand(&operand->op, BE_ASM_OPERAND_IMMEDIATE, -1);
operand->val = value;
operand->ent = entity;
return true;
diff --git a/ir/be/mips/mips_transform.c b/ir/be/mips/mips_transform.c
index 2b4ff04..cce8f7e 100644
--- a/ir/be/mips/mips_transform.c
+++ b/ir/be/mips/mips_transform.c
@@ -245,7 +245,6 @@ static bool mips_match_immediate(mips_asm_operand_t *const operand, ir_node *con
value = 0;
}
- be_set_asm_operand(&operand->op, BE_ASM_OPERAND_IMMEDIATE, -1);
operand->val = value;
operand->ent = entity;
return true;
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;
diff --git a/ir/be/sparc/sparc_transform.c b/ir/be/sparc/sparc_transform.c
index df7b12e..75b99ee 100644
--- a/ir/be/sparc/sparc_transform.c
+++ b/ir/be/sparc/sparc_transform.c
@@ -256,7 +256,6 @@ static bool sparc_match_immediate(sparc_asm_operand_t *const operand, ir_node *c
value = 0;
}
- be_set_asm_operand(&operand->op, BE_ASM_OPERAND_IMMEDIATE, -1);
operand->immediate_value = value;
operand->immediate_value_entity = entity;
return true;