summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beuses.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-04 16:55:39 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-05 15:06:22 +0100
commit59e2d36967edfaaa770afdf3d498bed3b39e55ee (patch)
treec340ba94c708c85d034878f551101aae19eb2d0e /ir/be/beuses.c
parent764950b73a7a4b80ab46f58ecbd728a6d997748b (diff)
beuses: Remove stale start loop test.
Diffstat (limited to 'ir/be/beuses.c')
-rw-r--r--ir/be/beuses.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ir/be/beuses.c b/ir/be/beuses.c
index 2b82570..ab1484f 100644
--- a/ir/be/beuses.c
+++ b/ir/be/beuses.c
@@ -275,8 +275,6 @@ static be_next_use_t get_next_use(be_uses_t *env, ir_node *from,
unsigned loopdepth = get_loop_depth(loop);
int found_visited = 0;
int found_use = 0;
- ir_graph *irg = get_irn_irg(block);
- ir_node *startblock = get_irg_start_block(irg);
result.before = NULL;
outermost_loop = loopdepth;
@@ -286,9 +284,6 @@ static be_next_use_t get_next_use(be_uses_t *env, ir_node *from,
ir_loop *succ_loop;
unsigned use_dist;
- if (succ_block == startblock)
- continue;
-
DBG((env->dbg, LEVEL_5, "Checking succ of block %+F: %+F (for use of %+F)\n", block, succ_block, def));
if (!be_is_live_in(env->lv, succ_block, def)) {
//next_use = USES_INFINITY;