< prev index next >

src/hotspot/share/c1/c1_ValueType.cpp

Print this page
*** 127,10 ***
--- 127,11 ---
      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_INLINE_TYPE: return objectType;
      case T_ADDRESS: return addressType;
      case T_ILLEGAL: return illegalType;
      default       : ShouldNotReachHere();
                      return illegalType;
    }

*** 146,10 ***
--- 147,11 ---
      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_INLINE_TYPE: // 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 >