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

x87: Remove stale start loop test.

parent 59e2d369
...@@ -1595,7 +1595,6 @@ static void x87_simulate_block(x87_simulator *sim, ir_node *block) ...@@ -1595,7 +1595,6 @@ static void x87_simulate_block(x87_simulator *sim, ir_node *block)
ir_node *n, *next; ir_node *n, *next;
blk_state *bl_state = x87_get_bl_state(sim, block); blk_state *bl_state = x87_get_bl_state(sim, block);
x87_state *state = bl_state->begin; x87_state *state = bl_state->begin;
ir_node *start_block;
assert(state != NULL); assert(state != NULL);
/* already processed? */ /* already processed? */
...@@ -1639,8 +1638,6 @@ static void x87_simulate_block(x87_simulator *sim, ir_node *block) ...@@ -1639,8 +1638,6 @@ static void x87_simulate_block(x87_simulator *sim, ir_node *block)
} }
} }
start_block = get_irg_start_block(get_irn_irg(block));
DB((dbg, LEVEL_2, "State at Block end:\n ")); DEBUG_ONLY(x87_dump_stack(state);) DB((dbg, LEVEL_2, "State at Block end:\n ")); DEBUG_ONLY(x87_dump_stack(state);)
/* check if the state must be shuffled */ /* check if the state must be shuffled */
...@@ -1648,9 +1645,6 @@ static void x87_simulate_block(x87_simulator *sim, ir_node *block) ...@@ -1648,9 +1645,6 @@ static void x87_simulate_block(x87_simulator *sim, ir_node *block)
ir_node *succ = get_edge_src_irn(edge); ir_node *succ = get_edge_src_irn(edge);
blk_state *succ_state; blk_state *succ_state;
if (succ == start_block)
continue;
succ_state = x87_get_bl_state(sim, succ); succ_state = x87_get_bl_state(sim, succ);
if (succ_state->begin == NULL) { if (succ_state->begin == NULL) {
......
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