< prev index next >

src/hotspot/share/c1/c1_ValueType.cpp

Print this page

*** 133,142 **** --- 133,143 ---- case T_LONG : return longType; case T_FLOAT : return floatType; 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(); return illegalType; }
*** 152,161 **** --- 153,163 ---- case T_INT : return new IntConstant (value.as_int ()); case T_LONG : return new LongConstant (value.as_long ()); 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(); if (obj->is_null_object()) return objectNull;
< prev index next >