< prev index next >
src/share/vm/opto/type.cpp
Print this page
*** 3356,3366 ****
case T_FLOAT: return TypeF::make(constant.as_float());
case T_DOUBLE: return TypeD::make(constant.as_double());
case T_LONG: return TypeLong::make(constant.as_long());
default: break;
}
! fatal(err_msg_res("Invalid boxed value type '%s'", type2name(bt)));
return NULL;
}
//------------------------------cast_to_ptr_type-------------------------------
const Type *TypeInstPtr::cast_to_ptr_type(PTR ptr) const {
--- 3356,3366 ----
case T_FLOAT: return TypeF::make(constant.as_float());
case T_DOUBLE: return TypeD::make(constant.as_double());
case T_LONG: return TypeLong::make(constant.as_long());
default: break;
}
! fatal("Invalid boxed value type '%s'", type2name(bt));
return NULL;
}
//------------------------------cast_to_ptr_type-------------------------------
const Type *TypeInstPtr::cast_to_ptr_type(PTR ptr) const {
< prev index next >