Commit 298d1b3e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

beblocksched: Do not test for Jmp nodes.

There are no middleend jump nodes at this point anymore.
parent 64a5a685
......@@ -62,8 +62,7 @@ static void remove_empty_block(ir_node *block)
ir_node *jump = NULL;
sched_foreach(block, node) {
if (!is_Jmp(node)
&& !(arch_get_irn_flags(node) & arch_irn_flag_simple_jump))
if (!(arch_get_irn_flags(node) & arch_irn_flag_simple_jump))
goto check_preds;
if (jump != NULL) {
/* we should never have 2 jumps in a 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