summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beprefalloc.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-08-21 13:33:09 +0200
committerMatthias Braun <matze@braunis.de>2014-08-21 13:41:14 +0200
commit1404cf395fe52adeac6ca020ca5ddf9d902da417 (patch)
treecc9d25fa87a59b43b7be658bcb12ab5fd82a62aa /ir/be/beprefalloc.c
parent9beeb71eaa0fffd24e9231db34906eeec0c182cf (diff)
rmeove pointless be_clear_links() function
Diffstat (limited to 'ir/be/beprefalloc.c')
-rw-r--r--ir/be/beprefalloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ir/be/beprefalloc.c b/ir/be/beprefalloc.c
index c000f38..0ba23cd 100644
--- a/ir/be/beprefalloc.c
+++ b/ir/be/beprefalloc.c
@@ -36,6 +36,7 @@
#include "irgwalk.h"
#include "irnode_t.h"
#include "irdump.h"
+#include "irtools.h"
#include "util.h"
#include "obst.h"
#include "raw_bitset.h"
@@ -1777,7 +1778,7 @@ static void be_pref_alloc_cls(void)
DB((dbg, LEVEL_2, "=== Allocating registers of %s ===\n", cls->name));
- be_clear_links(irg);
+ irg_walk_graph(irg, firm_clear_link, NULL, NULL);
irg_block_walk_graph(irg, NULL, analyze_block, NULL);
combine_congruence_classes();