hotspot/src/share/vm/opto/parse2.cpp
changeset 31857 adbf29d9ca43
parent 29193 3ede621e9262
child 33451 0712796e4039
equal deleted inserted replaced
31775:98b4ded1e369 31857:adbf29d9ca43
  1476                       NULL, tag.internal_name());
  1476                       NULL, tag.internal_name());
  1477         break;
  1477         break;
  1478       }
  1478       }
  1479       assert(constant.basic_type() != T_OBJECT || constant.as_object()->is_instance(),
  1479       assert(constant.basic_type() != T_OBJECT || constant.as_object()->is_instance(),
  1480              "must be java_mirror of klass");
  1480              "must be java_mirror of klass");
  1481       bool pushed = push_constant(constant, true);
  1481       const Type* con_type = Type::make_from_constant(constant);
  1482       guarantee(pushed, "must be possible to push this constant");
  1482       if (con_type != NULL) {
       
  1483         push_node(con_type->basic_type(), makecon(con_type));
       
  1484       }
  1483     }
  1485     }
  1484 
  1486 
  1485     break;
  1487     break;
  1486 
  1488 
  1487   case Bytecodes::_aload_0:
  1489   case Bytecodes::_aload_0: