src/share/vm/opto/ifnode.cpp

changeset 9710
5d306df084eb
parent 9181
e54bf58b34b3
child 9756
2be326848943
     1.1 --- a/src/share/vm/opto/ifnode.cpp	Wed Jun 05 04:48:05 2019 +0100
     1.2 +++ b/src/share/vm/opto/ifnode.cpp	Tue Apr 30 14:49:19 2019 +0200
     1.3 @@ -601,7 +601,7 @@
     1.4      if( din4->is_Call() &&      // Handle a slow-path call on either arm
     1.5          (din4 = din4->in(0)) )
     1.6        din4 = din4->in(0);
     1.7 -    if( din3 == din4 && din3->is_If() )
     1.8 +    if (din3 != NULL && din3 == din4 && din3->is_If()) // Regions not degraded to a copy
     1.9        return din3;              // Skip around diamonds
    1.10    }
    1.11  

mercurial