summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2017-03-31 21:33:19 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2017-04-04 06:27:37 +0200
commite60dbcb2cf69eec17707da0d691c5fd277b40439 (patch)
tree0fa69accd1cc7e656ea4f2c2ec95d6c7a5b492d2
parent1f3042ec485eb3d19c18244f19deb2e42c75ae6d (diff)
Correctly use 'false' instead of an enum constant which happens to have the value 0.
-rw-r--r--src/firm/ast2firm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/firm/ast2firm.c b/src/firm/ast2firm.c
index 065797b..753c9d2 100644
--- a/src/firm/ast2firm.c
+++ b/src/firm/ast2firm.c
@@ -1729,8 +1729,7 @@ static ir_node *create_op(binary_expression_t const *const expr, ir_node *left,
ir_node *const conv_size = new_d_Conv(dbgi, elem_size, mode);
ir_node *const sub = new_d_Sub(dbgi, left, right);
ir_node *const no_mem = new_NoMem();
- ir_node *const divn = new_d_DivRL(dbgi, no_mem, sub, conv_size,
- op_pin_state_floats);
+ ir_node *const divn = new_d_DivRL(dbgi, no_mem, sub, conv_size, false);
return new_d_Proj(dbgi, divn, mode, pn_Div_res);
}
/* fallthrough */