bechordal: Remove remnants of the long gone split phase.
[libfirm] / ir / stat / const_stat.c
index 11473fa..8941fa1 100644 (file)
@@ -21,7 +21,6 @@
  * @file
  * @brief   Statistic functions for constant counting.
  * @author  Michael Beck
- * @version $Id$
  */
 #include "config.h"
 
@@ -65,7 +64,7 @@ static unsigned log2abs(long value)
 /**
  * classify the value of a float tarval
  */
-static float_classify_t classify_float_value(tarval *tv)
+static float_classify_t classify_float_value(ir_tarval *tv)
 {
        ir_mode *mode = get_tarval_mode(tv);
 
@@ -73,8 +72,8 @@ static float_classify_t classify_float_value(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)
@@ -104,9 +103,9 @@ const char *stat_fc_name(float_classify_t classification)
 /* update info on Consts */
 void stat_update_const(stat_info_t *status, ir_node *node, graph_entry_t *graph)
 {
-       ir_mode *mode = get_irn_mode(node);
-       tarval *tv;
-       unsigned bits;
+       ir_mode   *mode = get_irn_mode(node);
+       ir_tarval *tv;
+       unsigned   bits;
        (void) graph;
 
        if (mode_is_int(mode)) {