- BugFix: ensure that Convs are created in the right block
[libfirm] / ir / be / beirg.c
index b42da44..3e5e286 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.
  *
  * @date        13.12.2006
  * @version     $Id$
  */
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "execfreq.h"
 #include "beirg_t.h"
+#include "absgraph.h"
 
 be_lv_t *be_assure_liveness(be_irg_t *birg)
 {
        if (birg->lv != NULL)
                return birg->lv;
 
-       return birg->lv = be_liveness(birg->irg);
+       return birg->lv = be_liveness(birg);
 }
 
 void be_assure_dom_front(be_irg_t *birg)