Fixed warnings.
[libfirm] / ir / be / beintlive_t.h
index 3115087..8b61f50 100644 (file)
@@ -13,7 +13,6 @@
 #define _BELIVECHK_T_H
 
 #include "irgraph_t.h"
-#include "irphase_t.h"
 #include "iredges_t.h"
 
 #include "statev.h"
@@ -128,11 +127,8 @@ static inline int be_values_interfere(const be_lv_t *lv, const ir_node *a, const
 
        /* If there is no dominance relation, they do not interfere. */
        if(a2b) {
-               const ir_edge_t *edge;
                ir_node *bb = get_nodes_block(b);
 
-               //stat_ev_dbl("beintlive_ignore", arch_irn_is(be_get_irg_arch_env(lv->irg), a, ignore));
-
                /*
                 * If a is live end in b's block it is
                 * live at b's definition (a dominates b)
@@ -160,7 +156,7 @@ static inline int be_values_interfere(const be_lv_t *lv, const ir_node *a, const
                                goto end;
                        }
                }
-       }
+       }
 
 end:
        return res;
@@ -213,7 +209,6 @@ static inline int _be_lv_chk_before_irn(ir_graph *irg, const ir_node *irn,
                                         const ir_node *where)
 {
        const be_lv_t *lv = be_get_irg_liveness(irg);
-       const ir_edge_t *edge;
 
        /* the node must strictly dominate the location, else it cannot be live there. */
        if (!_value_dominates(irn, where) || irn == where)
@@ -249,7 +244,6 @@ static inline int _be_lv_chk_after_irn(ir_graph *irg, const ir_node *irn,
                                        const ir_node *where)
 {
        const be_lv_t *lv = be_get_irg_liveness(irg);
-       const ir_edge_t *edge;
 
        if (!_value_dominates(irn, where))
                return 0;