summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beloopana.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-07-02 18:58:16 +0200
committerMatthias Braun <matze@braunis.de>2010-07-02 18:58:16 +0200
commit69849fc8fe452350bfbd2ad67f1898147fc906b4 (patch)
treedca97f03eca3f5353a35ce953c43f3bf2364b17e /ir/be/beloopana.c
parent696520d4ae2d38da523bffcf0356aacc350f4845 (diff)
- change various be_get_birg_XXX functions to be_get_irg_XXX functions.
[r27690]
Diffstat (limited to 'ir/be/beloopana.c')
-rw-r--r--ir/be/beloopana.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/beloopana.c b/ir/be/beloopana.c
index a5e7be2..6b7ee74 100644
--- a/ir/be/beloopana.c
+++ b/ir/be/beloopana.c
@@ -74,7 +74,7 @@ static int cmp_loop_info(const void *a, const void *b, size_t size)
static unsigned be_compute_block_pressure(const be_irg_t *birg,
ir_node *block, const arch_register_class_t *cls)
{
- be_lv_t *lv = be_get_birg_liveness(birg);
+ be_lv_t *lv = be_get_irg_liveness(birg->irg);
ir_nodeset_t live_nodes;
ir_node *irn;
int max_live;
@@ -186,7 +186,7 @@ be_loopana_t *be_new_loop_pressure(be_irg_t *birg,
ir_graph *irg = be_get_birg_irg(birg);
be_loopana_t *loop_ana = XMALLOC(be_loopana_t);
ir_loop *irg_loop = get_irg_loop(irg);
- const arch_env_t *arch_env = be_get_birg_arch_env(birg);
+ const arch_env_t *arch_env = be_get_irg_arch_env(irg);
int i;
loop_ana->data = new_set(cmp_loop_info, 16);