From d988aed5e26aa5b259aa98b1aa69ed13c5dae73c Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 20 Feb 2010 11:51:25 +0000 Subject: [PATCH] Prefer get_mode_null() over get_tarval_null(). [r27192] --- ast2firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ast2firm.c b/ast2firm.c index b6b5e5c..3285d60 100644 --- a/ast2firm.c +++ b/ast2firm.c @@ -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; -- 2.20.1