From: Christoph Mallon Date: Sat, 20 Feb 2010 11:51:25 +0000 (+0000) Subject: Prefer get_mode_null() over get_tarval_null(). X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=d988aed5e26aa5b259aa98b1aa69ed13c5dae73c;p=cparser Prefer get_mode_null() over get_tarval_null(). [r27192] --- 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;