summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-12-30 17:25:19 +0100
committerMatthias Braun <matze@braunis.de>2016-12-30 23:28:33 +0100
commit36305c91f0c79e4740e9e6ac3b735a10e6e266e0 (patch)
tree6eb2d3b910d33b6d17da3f664904ad7a70e5065a /src
parent88814e321f931710e356caee15d890b53bbf8fb8 (diff)
Adapt to libfirm new_int_mode() function.
Diffstat (limited to 'src')
-rw-r--r--src/ast/constfold.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ast/constfold.c b/src/ast/constfold.c
index 04db5c5..7d97c2a 100644
--- a/src/ast/constfold.c
+++ b/src/ast/constfold.c
@@ -1068,8 +1068,7 @@ static ir_mode *init_atomic_ir_mode(atomic_type_kind_t kind)
unsigned modulo_shift = decide_modulo_shift(bit_size);
snprintf(name, sizeof(name), "%s%u", is_signed ? "I" : "U", bit_size);
- return new_int_mode(name, irma_twos_complement, bit_size, is_signed,
- modulo_shift);
+ return new_int_mode(name, bit_size, is_signed, modulo_shift);
}
return NULL;