Commit 9240cbac authored by yb9976's avatar yb9976
Browse files

Assert activated edges.

parent 0dd2a7bc
......@@ -840,9 +840,7 @@ static void do_shannon(ir_graph *irg)
*/
static bool only_one_user(const ir_node *node)
{
ir_graph *irg = get_irn_irg(node);
if (!edges_activated(irg))
return false;
assert(edges_activated(get_irn_irg(node)));
return get_irn_n_edges(node) <= 1;
}
......
Markdown is supported
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