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

Simplify assertion.

parent d607b533
......@@ -348,11 +348,7 @@ static void place_floats_late(ir_node *n, pdeq *worklist)
return;
/* some nodes should simply stay in the startblock */
if (is_irn_start_block_placed(n)) {
#ifndef NDEBUG
ir_graph *irg = get_irn_irg(n);
ir_node *start_block = get_irg_start_block(irg);
assert(get_nodes_block(n) == start_block);
#endif
assert(get_nodes_block(n) == get_irg_start_block(get_irn_irg(n)));
return;
}
......
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