summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2008-08-13 16:15:35 +0200
committerMatthias Braun <matze@braunis.de>2008-08-13 16:15:35 +0200
commite30e5834fd8c1c3a7d28fc66e99b91a84993bde8 (patch)
tree2aaafc4f12d6bd5afbe49a93a08bf866c8bf3f79 /ir/be/beutil.c
parent6af5001a11080d112d5dcc81286c5769eadf2b04 (diff)
introduce more generic resource reservation debug helpers instead of old set_using_xxxx functions
[r21148]
Diffstat (limited to 'ir/be/beutil.c')
-rw-r--r--ir/be/beutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/beutil.c b/ir/be/beutil.c
index d800315..3739603 100644
--- a/ir/be/beutil.c
+++ b/ir/be/beutil.c
@@ -196,9 +196,9 @@ static void collect_phis(ir_node *irn, void *data)
void be_clear_links(ir_graph *irg)
{
- set_using_irn_link(irg);
+ ir_reserve_resources(irg, IR_RESOURCE_IRN_LINK);
irg_walk_graph(irg, firm_clear_link, NULL, NULL);
- clear_using_irn_link(irg);
+ ir_free_resources(irg, IR_RESOURCE_IRN_LINK);
}
void be_collect_phis(ir_graph *irg)