summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespilldaemel.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/bespilldaemel.c
parent696520d4ae2d38da523bffcf0356aacc350f4845 (diff)
- change various be_get_birg_XXX functions to be_get_irg_XXX functions.
[r27690]
Diffstat (limited to 'ir/be/bespilldaemel.c')
-rw-r--r--ir/be/bespilldaemel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/bespilldaemel.c b/ir/be/bespilldaemel.c
index dbd9533..e364601 100644
--- a/ir/be/bespilldaemel.c
+++ b/ir/be/bespilldaemel.c
@@ -379,17 +379,17 @@ static void spill_block(ir_node *block, void *data)
static void be_spill_daemel(be_irg_t *birg, const arch_register_class_t *new_cls)
{
- ir_graph *irg = be_get_birg_irg(birg);
+ ir_graph *irg = be_get_birg_irg(birg);
n_regs = new_cls->n_regs - be_put_ignore_regs(birg, new_cls, NULL);
if (n_regs == 0)
return;
- be_liveness_assure_sets(be_assure_liveness(birg));
+ be_liveness_assure_sets(be_assure_liveness(irg));
spill_env = be_new_spill_env(birg);
cls = new_cls;
- lv = be_get_birg_liveness(birg);
+ lv = be_get_irg_liveness(irg);
spilled_nodes = bitset_malloc(get_irg_last_idx(irg));
DBG((dbg, LEVEL_1, "*** RegClass %s\n", cls->name));