Commit 4d9bcc10 authored by Michael Beck's avatar Michael Beck
Browse files

- replaced an if condition that should never happen by assert()

- removed a superfluous "{", although in an #if 0 block this confuses Visual Assist

[r27731]
parent dffc791a
......@@ -1028,7 +1028,7 @@ static ir_node *gen_Const(ir_node *node)
} else {
node = new_bd_arm_fpaMnf_i(dbg, block, mode, -imm);
}
} else {
} else
#endif
{
node = new_bd_arm_fpaConst(dbg, block, tv);
......@@ -1627,13 +1627,9 @@ static ir_node *gen_Call(ir_node *node)
if (reg != NULL) {
in[in_arity] = new_value;
if (reg == &arm_gp_regs[REG_LR]) {
/* this should not happen, LR cannot be a parameter register ... */
in_req[in_arity] = be_create_reg_req(obst,
reg, arch_register_req_type_ignore);
} else {
in_req[in_arity] = reg->single_req;
}
/* this should not happen, LR cannot be a parameter register ... */
assert(reg != &arm_gp_regs[REG_LR]);
in_req[in_arity] = reg->single_req;
++in_arity;
} else {
ir_mode *mode;
......
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