Commit 031078da authored by Christoph Mallon's avatar Christoph Mallon
Browse files

arm: Simplify confusing condition.

parent 12aaa3fc
...@@ -802,12 +802,9 @@ static void arm_emit_block_header(ir_node *block, ir_node *prev) ...@@ -802,12 +802,9 @@ static void arm_emit_block_header(ir_node *block, ir_node *prev)
/* we don't need labels for fallthrough blocks, however switch-jmps /* we don't need labels for fallthrough blocks, however switch-jmps
* are no fallthroughs */ * are no fallthroughs */
if (pred_block == prev && need_label =
!(is_Proj(pred) && is_arm_SwitchJmp(get_Proj_pred(pred)))) { pred_block != prev ||
need_label = false; (is_Proj(pred) && is_arm_SwitchJmp(get_Proj_pred(pred)));
} else {
need_label = true;
}
} else { } else {
need_label = true; need_label = true;
} }
......
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