summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.c
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-03-11 20:48:24 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-03-11 20:48:24 +0100
commit019b2541b1c3b94e12cd294131d959f6d8298f5a (patch)
tree8a7cad015e8447e59dd39efe4d8d42fc62cfd0bd /ir/be/benode.c
parentc2191239188a9bfaf2fc542b7759e0ecc33f2906 (diff)
Cleanup code.
Diffstat (limited to 'ir/be/benode.c')
-rw-r--r--ir/be/benode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/benode.c b/ir/be/benode.c
index 2118550..c3092a2 100644
--- a/ir/be/benode.c
+++ b/ir/be/benode.c
@@ -425,8 +425,7 @@ ir_node *be_new_Phi(ir_node *block, int n_ins, ir_node **ins, ir_mode *mode,
info->in_reqs[i] = req;
}
verify_new_node(phi);
- phi = optimize_node(phi);
- return phi;
+ return optimize_node(phi);
}
ir_node *be_new_Phi0(ir_node *const block, ir_mode *const mode, arch_register_req_t const *const req)