summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beloopana.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2008-05-23 21:04:09 +0200
committerMatthias Braun <matze@braunis.de>2008-05-23 21:04:09 +0200
commitcf9c1673146d1f45d46ceb77eccfaf10fedff25d (patch)
tree2774545fc07cb67046b6f0a36a050f1d7928dd86 /ir/be/beloopana.c
parentc23b55879df97f49fc6f1e95651f9f28a980b620 (diff)
- Aus arch_isa_t wird arch_env_t sonst ändert sich nix...
[r19740]
Diffstat (limited to 'ir/be/beloopana.c')
-rw-r--r--ir/be/beloopana.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/beloopana.c b/ir/be/beloopana.c
index 37356e8..f0e26ce 100644
--- a/ir/be/beloopana.c
+++ b/ir/be/beloopana.c
@@ -189,7 +189,6 @@ be_loopana_t *be_new_loop_pressure(be_irg_t *birg) {
be_loopana_t *loop_ana = xmalloc(sizeof(*loop_ana));
ir_loop *irg_loop = get_irg_loop(irg);
const arch_env_t *arch_env = be_get_birg_arch_env(birg);
- const arch_isa_t *isa = arch_env->isa;
int i;
loop_ana->data = new_set(cmp_loop_info, 16);
@@ -200,8 +199,8 @@ be_loopana_t *be_new_loop_pressure(be_irg_t *birg) {
construct_cf_backedges(irg);
}
- for (i = arch_isa_get_n_reg_class(isa) - 1; i >= 0; --i) {
- const arch_register_class_t *cls = arch_isa_get_reg_class(isa, i);
+ for (i = arch_env_get_n_reg_class(arch_env) - 1; i >= 0; --i) {
+ const arch_register_class_t *cls = arch_env_get_reg_class(arch_env, i);
DBG((dbg, LEVEL_1, "\n=====================================================\n", cls->name));
DBG((dbg, LEVEL_1, " Computing register pressure for class %s:\n", cls->name));
DBG((dbg, LEVEL_1, "=====================================================\n", cls->name));