Commit e8603704 authored by yb9976's avatar yb9976
Browse files

Add some braces to improve readability.

parent 417bd890
......@@ -234,8 +234,9 @@ static void collect_egde_frequency(ir_node *block, void *data)
}
}
if (highest_edge_num >= 0)
if (highest_edge_num >= 0) {
env->edges[highest_edge_num].highest_execfreq = 1;
}
}
}
......
......@@ -257,8 +257,9 @@ int i_mapper_pow(ir_node *call)
} else if (tarval_is_minus_one(tv)) {
/* pow(x, -1.0) = 1/x */
irn = NULL;
} else
} else {
return 0;
}
} else {
return 0;
}
......
......@@ -87,8 +87,9 @@ static void block_remove_bads(ir_node *block)
static bool has_bad_input(const ir_node *node)
{
foreach_irn_in(node, i, pred) {
if (is_Bad(pred))
if (is_Bad(pred)) {
return true;
}
}
return false;
}
......
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