src/share/vm/opto/cfgnode.cpp

changeset 2930
b55f5bd7ec66
parent 2877
bad7ecd0b6ed
child 3043
c96c3eb1efae
     1.1 --- a/src/share/vm/opto/cfgnode.cpp	Sat May 21 11:44:31 2011 -0700
     1.2 +++ b/src/share/vm/opto/cfgnode.cpp	Sat May 21 13:59:55 2011 -0700
     1.3 @@ -1556,7 +1556,9 @@
     1.4  
     1.5    Node *top = phase->C->top();
     1.6    bool new_phi = (outcnt() == 0); // transforming new Phi
     1.7 -  assert(!can_reshape || !new_phi, "for igvn new phi should be hooked");
     1.8 +  // No change for igvn if new phi is not hooked
     1.9 +  if (new_phi && can_reshape)
    1.10 +    return NULL;
    1.11  
    1.12    // The are 2 situations when only one valid phi's input is left
    1.13    // (in addition to Region input).

mercurial