- removed obstack from be_main_env_t, it was only used to allocate one arch_env,...
[libfirm] / ir / be / bepressurestat.c
index 3489c7b..0351896 100644 (file)
@@ -48,8 +48,6 @@
 #include "execfreq.h"
 #include "irtools.h"
 
-#include <libcore/lc_bitset.h>
-
 #include "be_t.h"
 #include "belive_t.h"
 #include "besched_t.h"
@@ -137,7 +135,7 @@ void be_analyze_regpressure(be_irg_t *birg, const arch_register_class_t *cls, co
 
        FIRM_DBG_REGISTER(ra.dbg, "firm.be.regpressureana");
 
-       ra.arch_env = birg->main_env->arch_env;
+       ra.arch_env = &birg->main_env->arch_env;
        ra.lv       = be_get_birg_liveness(birg);
        ra.cls      = cls;
        ra.stat     = stat;