Remove the unused attribute const arch_env_t *arch_env from struct regpressure_ana_t.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 11 Oct 2008 19:54:13 +0000 (19:54 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 11 Oct 2008 19:54:13 +0000 (19:54 +0000)
[r22735]

ir/be/bepressurestat.c

index 111007d..d3498ab 100644 (file)
@@ -61,7 +61,6 @@
 #define MAXPRESSURE 128
 
 typedef struct _regpressure_ana_t {
-       arch_env_t                   *arch_env;
        const arch_register_class_t  *cls;
        const be_lv_t                *lv;
        unsigned int                 *stat;
@@ -134,10 +133,9 @@ 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.lv       = be_get_birg_liveness(birg);
-       ra.cls      = cls;
-       ra.stat     = stat;
+       ra.lv   = be_get_birg_liveness(birg);
+       ra.cls  = cls;
+       ra.stat = stat;
 
        memset(stat, 0, sizeof(stat));