aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-phinodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-phinodes.c')
-rw-r--r--gcc/tree-phinodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index 712e3f9..6dc5c76 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -291,7 +291,7 @@ create_phi_node (tree var, basic_block bb)
{
tree phi;
- phi = make_phi_node (var, bb_ann (bb)->num_preds);
+ phi = make_phi_node (var, EDGE_COUNT (bb->preds));
/* This is a new phi node, so note that is has not yet been
rewritten. */