Commit c1ea1e02 authored by Matthias Braun's avatar Matthias Braun

Fix duplicate const warning

parent f559ca97
......@@ -2021,7 +2021,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;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment