projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ef6eb
)
Remove redundant retrieval of blocks.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 5 Aug 2012 08:56:10 +0000
(10:56 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 8 Aug 2012 14:16:48 +0000
(16:16 +0200)
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
0b3b658
..
cf3d232
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-5119,7
+5119,6
@@
static ir_node *transform_node_Phi(ir_node *phi)
return phi;
/* Move the Pin nodes "behind" the Phi. */
- block = get_irn_n(phi, -1);
new_phi = new_r_Phi(block, n, in, mode_M);
return new_r_Pin(block, new_phi);
}
@@
-5163,7
+5162,6
@@
static ir_node *transform_node_Phi(ir_node *phi)
return phi;
/* move the Confirm nodes "behind" the Phi */
- block = get_irn_n(phi, -1);
new_phi = new_r_Phi(block, n, in, get_irn_mode(phi));
return new_r_Confirm(block, new_phi, bound, relation);
}