--- old/src/hotspot/share/c1/c1_ValueType.cpp 2019-03-11 14:25:15.998355849 +0100 +++ new/src/hotspot/share/c1/c1_ValueType.cpp 2019-03-11 14:25:15.786355852 +0100 @@ -135,6 +135,7 @@ case T_DOUBLE : return doubleType; case T_ARRAY : return arrayType; case T_OBJECT : return objectType; + case T_VALUETYPE: return objectType; case T_ADDRESS: return addressType; case T_ILLEGAL: return illegalType; default : ShouldNotReachHere(); @@ -154,6 +155,7 @@ case T_FLOAT : return new FloatConstant (value.as_float ()); case T_DOUBLE : return new DoubleConstant(value.as_double()); case T_ARRAY : // fall through (ciConstant doesn't have an array accessor) + case T_VALUETYPE: // fall through case T_OBJECT : { // TODO: Common the code with GraphBuilder::load_constant? ciObject* obj = value.as_object();