Fixed initialization of option tables
[libfirm] / ir / be / bestate.c
index 57eb30e..37c5cbe 100644 (file)
@@ -24,8 +24,6 @@
  * @author      Matthias Braun
  * @date        26.03.2007
  * @version     $Id$
- * Copyright:   (c) Universitaet Karlsruhe
- * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -43,7 +41,7 @@
 #include "irgmod.h"
 
 #include "bearch_t.h"
-#include "beuses_t.h"
+#include "beuses.h"
 #include "besched_t.h"
 #include "belive_t.h"
 #include "bemodule.h"
@@ -504,9 +502,9 @@ void be_assure_state(be_irg_t *birg, const arch_register_t *reg, void *func_env,
        minibelady_env_t env;
        ir_graph *irg = be_get_birg_irg(birg);
        spill_info_t *info;
-       be_lv_t *lv = be_get_birg_liveness(birg);
+       be_lv_t *lv = be_assure_liveness(birg);
 
-       be_assure_liveness(birg);
+       be_liveness_assure_sets(lv);
        be_assure_dom_front(birg);
        /* construct control flow loop tree */
        if(! (get_irg_loopinfo_state(irg) & loopinfo_cf_consistent)) {