summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-05 11:23:22 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-05 15:06:22 +0100
commit764950b73a7a4b80ab46f58ecbd728a6d997748b (patch)
treef48fdbb73c7545cfda2220abe67382a5d512528e /ir/be/bestate.c
parent5ce100386043a57a864379c8b6d8e6bb95a98596 (diff)
bestate: Remove redundant test for the start block.
The start block has no predecessors, so the following loop will not be executed.
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index b111185..e14633c 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -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)
- return;
-
DBG((dbg, LEVEL_3, "\n"));
block_info = get_block_info(block);