summaryrefslogtreecommitdiffhomepage
path: root/ir/be/mips
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-01-28 18:45:35 +0100
committerMatthias Braun <matze@braunis.de>2017-01-28 18:45:40 +0100
commitc1ea1e022feaa2b0b155ab526fe2a828d68f0651 (patch)
tree1b6181fda70f4e8321afcbb753c128212ba2df30 /ir/be/mips
parentf559ca97a10243052c6992e1a0c7c9b7bca1a42c (diff)
Fix duplicate const warning
Diffstat (limited to 'ir/be/mips')
-rw-r--r--ir/be/mips/mips_transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/mips/mips_transform.c b/ir/be/mips/mips_transform.c
index 32abd92..f2f6d4d 100644
--- a/ir/be/mips/mips_transform.c
+++ b/ir/be/mips/mips_transform.c
@@ -268,7 +268,7 @@ static ir_node *gen_ASM(ir_node *const node)
arch_register_req_t const **out_reqs = NEW_ARR_F(arch_register_req_t const*, 0);
ir_asm_constraint const *const out_constraints = get_ASM_output_constraints(node);
- size_t const const n_out_constraints = get_ASM_n_output_constraints(node);
+ size_t const n_out_constraints = get_ASM_n_output_constraints(node);
for (size_t o = 0; o != n_out_constraints; ++o) {
ir_asm_constraint const *const constraint = &out_constraints[o];
be_asm_constraint_t parsed_constraint;