Commit 22c27ac0 authored by yb9976's avatar yb9976
Browse files

Simplify code.

parent aec2064a
......@@ -84,7 +84,7 @@ static ir_node *search_def_and_create_phis(ir_node *block, ir_mode *mode,
ir_node *dummy;
/* This is needed because we create bads sometimes */
if (is_Bad(block) || is_Block_dead(block)) {
if (is_Block_dead(block)) {
ir_graph *irg = get_irn_irg(block);
return new_r_Bad(irg);
}
......
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