summaryrefslogtreecommitdiffhomepage
path: root/ir/ana
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-01-09 23:21:54 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-01-09 23:21:54 +0100
commit9114e7bdb71be2e9add27be532e5dce8235563d5 (patch)
treefde7aa054d358a1d9ab91254c21759447ee3c70b /ir/ana
parent174ba97448f2272e99871968da24ca3b9a7e3fe1 (diff)
Remove superfluous computations.
Diffstat (limited to 'ir/ana')
-rw-r--r--ir/ana/irconsconfirm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ir/ana/irconsconfirm.c b/ir/ana/irconsconfirm.c
index 04a76b1..b0b0b4d 100644
--- a/ir/ana/irconsconfirm.c
+++ b/ir/ana/irconsconfirm.c
@@ -341,7 +341,6 @@ static void handle_if(ir_node *block, ir_node *cmp, ir_relation rel, env_t *env)
if (c == NULL)
c = new_r_Confirm(block, left, right, rel);
- pos = get_edge_src_pos(edge);
set_irn_n(succ, pos, c);
DB((dbg, LEVEL_2, "Replacing input %d of node %+F with %+F\n", pos, succ, c));
@@ -371,7 +370,6 @@ static void handle_if(ir_node *block, ir_node *cmp, ir_relation rel, env_t *env)
if (rc == NULL)
rc = new_r_Confirm(block, right, left, rel);
- pos = get_edge_src_pos(edge);
set_irn_n(succ, pos, rc);
DB((dbg, LEVEL_2, "Replacing input %d of node %+F with %+F\n", pos, succ, rc));