1.1 --- a/src/share/vm/opto/cfgnode.cpp Mon Oct 22 05:26:38 2018 -0400 1.2 +++ b/src/share/vm/opto/cfgnode.cpp Mon Oct 15 11:00:27 2018 +0200 1.3 @@ -2016,6 +2016,7 @@ 1.4 uint ideal_reg = _type->ideal_reg(); 1.5 assert( ideal_reg != Node::NotAMachineReg, "invalid type at Phi" ); 1.6 if( ideal_reg == 0 ) return RegMask::Empty; 1.7 + assert(ideal_reg != Op_RegFlags, "flags register is not spillable"); 1.8 return *(Compile::current()->matcher()->idealreg2spillmask[ideal_reg]); 1.9 } 1.10