X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fstat%2Fconst_stat.c;h=8941fa1ddca2d6afc0f7254ba4d5673f6c8620a8;hb=ab85c635582eadf20abe4fca71c1a0ed214b60c6;hp=296e74bfdb329669ff7fd073a09de9743e4d8e2b;hpb=9d3c8631459f431c313160dab5778e8a7b88dd92;p=libfirm diff --git a/ir/stat/const_stat.c b/ir/stat/const_stat.c index 296e74bfd..8941fa1dd 100644 --- a/ir/stat/const_stat.c +++ b/ir/stat/const_stat.c @@ -21,7 +21,6 @@ * @file * @brief Statistic functions for constant counting. * @author Michael Beck - * @version $Id$ */ #include "config.h" @@ -73,8 +72,8 @@ static float_classify_t classify_float_value(ir_tarval *tv) return STAT_FC_0; else if (tv == get_mode_one(mode)) return STAT_FC_1; - else if (tarval_is_finite(tv) && tarval_ieee754_zero_mantissa(tv)) { - int exp = tarval_ieee754_get_exponent(tv); + else if (tarval_is_finite(tv) && tarval_zero_mantissa(tv)) { + int exp = tarval_get_exponent(tv); if (! tarval_is_negative(tv)) { if (exp == 1)