Commit 01090080 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

cleanup: s/< 1/== 0/ for clarity.

parent 227cd4d4
......@@ -1175,7 +1175,7 @@ void be_spill_prepare_for_constraints(ir_graph *irg)
/* Could be that not all CopyKeeps are really needed, */
/* so we transform unnecessary ones into Keeps. */
foreach_ir_nodeset(&entry->copies, cp, iter) {
if (be_is_CopyKeep(cp) && get_irn_n_edges(cp) < 1) {
if (be_is_CopyKeep(cp) && get_irn_n_edges(cp) == 0) {
int arity = get_irn_arity(cp);
ir_node *block = get_nodes_block(cp);
ir_node *keep = be_new_Keep(block, arity, get_irn_in(cp));
......
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