From: Christoph Mallon Date: Sun, 5 Aug 2012 08:56:10 +0000 (+0200) Subject: Remove redundant retrieval of blocks. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=0572df8dff94201a2a2f3d5a732a23a124fe0368;p=libfirm Remove redundant retrieval of blocks. --- diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 0b3b65875..cf3d23298 100644 --- 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); }