Commit df0e72fd authored by Christoph Mallon's avatar Christoph Mallon
Browse files

beifg: Use dom_tree_walk_irg(irg, ...) instead of dom_tree_walk(get_irg_start_block(irg), ...).

parent d40477fc
......@@ -270,10 +270,8 @@ static inline int get_next_clique(cliques_iter_t *it)
int be_ifg_cliques_begin(const be_ifg_t *ifg, cliques_iter_t *it,
ir_node **buf)
{
ir_node *start_bl = get_irg_start_block(ifg->env->irg);
obstack_init(&it->ob);
dom_tree_walk(start_bl, get_blocks_dom_order, NULL, it);
dom_tree_walk_irg(ifg->env->irg, get_blocks_dom_order, NULL, it);
it->cenv = ifg->env;
it->buf = buf;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment