- removed useless be_req_t which was a wrapper around an arch_register_req_t
[libfirm] / ir / be / beirg.c
index eaeca4e..4416228 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -24,9 +24,7 @@
  * @date        13.12.2006
  * @version     $Id$
  */
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "execfreq.h"
 #include "beirg_t.h"
@@ -37,7 +35,7 @@ be_lv_t *be_assure_liveness(be_irg_t *birg)
        if (birg->lv != NULL)
                return birg->lv;
 
-       return birg->lv = be_liveness(birg);
+       return birg->lv = be_liveness(birg->irg);
 }
 
 void be_assure_dom_front(be_irg_t *birg)