summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-06-07 08:00:05 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2016-06-07 08:00:05 +0200
commitaf186657d97455d83485997b3f517e2bbb261c7d (patch)
tree094d13cbf0290602002ad187ee3d71357b81a822 /src
parent109eb3fba31aad74bbdcbf8d24912a51715958b6 (diff)
Adapt to automatic mode inference of 'Not'.
Diffstat (limited to 'src')
-rw-r--r--src/firm/ast2firm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firm/ast2firm.c b/src/firm/ast2firm.c
index 1721c03..9bf1dda 100644
--- a/src/firm/ast2firm.c
+++ b/src/firm/ast2firm.c
@@ -1638,7 +1638,7 @@ static ir_node *complement_to_firm(unary_expression_t const *const expr)
type_t *const type = skip_typeref(expr->base.type);
ir_mode *const mode = get_ir_mode_arithmetic(type);
ir_node *const value = create_conv(dbgi, expression_to_value(expr->value), mode);
- return new_d_Not(dbgi, value, mode);
+ return new_d_Not(dbgi, value);
}
static ir_node *dereference_to_firm(unary_expression_t const *const expr)