Remove redundant retrieval of blocks.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 5 Aug 2012 08:56:10 +0000 (10:56 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 8 Aug 2012 14:16:48 +0000 (16:16 +0200)
ir/ir/iropt.c

index 0b3b658..cf3d232 100644 (file)
@@ -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);
                }