missing files added
[libfirm] / ir / be / belive.c
index 352c240..817cd63 100644 (file)
@@ -4,7 +4,7 @@
  * @date 6.12.2004
  */
 #ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "config.h"
 #endif
 
 #include "impl.h"
@@ -440,7 +440,7 @@ static void lv_dump_block(void *context, FILE *f, const ir_node *bl)
        }
 }
 
-static void *lv_phase_data_init(phase_t *phase, ir_node *irn, void *old)
+static void *lv_phase_data_init(ir_phase *phase, ir_node *irn, void *old)
 {
        struct _be_lv_info_t *info = phase_alloc(phase, LV_STD_SIZE * sizeof(info[0]));
        memset(info, 0, LV_STD_SIZE * sizeof(info[0]));
@@ -682,6 +682,7 @@ pset *be_liveness_transfer(const arch_env_t *arch_env, const arch_register_class
 
        if(arch_irn_consider_in_reg_alloc(arch_env, cls, irn)) {
                ir_node *del = pset_remove_ptr(live, irn);
+               (void) del;
                assert(irn == del);
        }