aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/reg_split.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/opto/reg_split.cpp')
-rw-r--r--src/share/vm/opto/reg_split.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/opto/reg_split.cpp b/src/share/vm/opto/reg_split.cpp
index 5e0dad80d..fe720e893 100644
--- a/src/share/vm/opto/reg_split.cpp
+++ b/src/share/vm/opto/reg_split.cpp
@@ -646,7 +646,7 @@ uint PhaseChaitin::Split(uint maxlrg, ResourceArea* split_arena) {
// create a new phi node and insert it into the block
// type is taken from left over pointer to a predecessor
assert(n3,"No non-NULL reaching DEF for a Phi");
- phi = new (C, b->num_preds()) PhiNode(b->head(), n3->bottom_type());
+ phi = new (C) PhiNode(b->head(), n3->bottom_type());
// initialize the Reaches entry for this LRG
Reachblock[slidx] = phi;