Commit 702948b1 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

betranshlp: Only check once, whether each node is in the right obstack.

parent f09e60a5
......@@ -224,11 +224,11 @@ void be_enqueue_preds(ir_node *node)
*/
static void fix_loops(ir_node *node)
{
assert(node_is_in_irgs_storage(env.irg, node));
if (irn_visited_else_mark(node))
return;
assert(node_is_in_irgs_storage(env.irg, node));
bool changed = false;
if (! is_Block(node)) {
ir_node *block = get_nodes_block(node);
......
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