Prefer get_mode_null() over get_tarval_null().
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 20 Feb 2010 11:51:25 +0000 (11:51 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 20 Feb 2010 11:51:25 +0000 (11:51 +0000)
[r27192]

ast2firm.c

index b6b5e5c..3285d60 100644 (file)
@@ -650,7 +650,7 @@ static ir_type *create_enum_type(enum_type_t *const type)
 
        ir_mode *const mode    = mode_int;
        tarval  *const one     = get_mode_one(mode);
-       tarval  *      tv_next = get_tarval_null(mode);
+       tarval  *      tv_next = get_mode_null(mode);
 
        bool constant_folding_old = constant_folding;
        constant_folding = true;