Commit 764950b7 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

bestate: Remove redundant test for the start block.

The start block has no predecessors, so the following loop will not be executed.
parent 5ce10038
......@@ -434,15 +434,10 @@ static void belady_walker(ir_node *block, void *data)
static void fix_block_borders(ir_node *block, void *data)
minibelady_env_t *env = (minibelady_env_t*)data;
ir_graph *irg = get_irn_irg(block);
ir_node *startblock = get_irg_start_block(irg);
int i;
int arity;
block_info_t *block_info;
if (block == startblock)
DBG((dbg, LEVEL_3, "\n"));
block_info = get_block_info(block);
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