summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beblocksched.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-12-31 09:33:40 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-12-31 11:08:13 +0100
commit298d1b3e2eb4a794e4fb990411c16697a75beea8 (patch)
tree3d6cfb8ba4a345dc558f99a9600c71bc2439f195 /ir/be/beblocksched.c
parent64a5a685d6543d9e3286f7fff7cba7ea17dbe163 (diff)
beblocksched: Do not test for Jmp nodes.
There are no middleend jump nodes at this point anymore.
Diffstat (limited to 'ir/be/beblocksched.c')
-rw-r--r--ir/be/beblocksched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c
index e9f5c43..b6874e1 100644
--- a/ir/be/beblocksched.c
+++ b/ir/be/beblocksched.c
@@ -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 */