equal
deleted
inserted
replaced
3356 case T_FLOAT: return TypeF::make(constant.as_float()); |
3356 case T_FLOAT: return TypeF::make(constant.as_float()); |
3357 case T_DOUBLE: return TypeD::make(constant.as_double()); |
3357 case T_DOUBLE: return TypeD::make(constant.as_double()); |
3358 case T_LONG: return TypeLong::make(constant.as_long()); |
3358 case T_LONG: return TypeLong::make(constant.as_long()); |
3359 default: break; |
3359 default: break; |
3360 } |
3360 } |
3361 fatal(err_msg_res("Invalid boxed value type '%s'", type2name(bt))); |
3361 fatal("Invalid boxed value type '%s'", type2name(bt)); |
3362 return NULL; |
3362 return NULL; |
3363 } |
3363 } |
3364 |
3364 |
3365 //------------------------------cast_to_ptr_type------------------------------- |
3365 //------------------------------cast_to_ptr_type------------------------------- |
3366 const Type *TypeInstPtr::cast_to_ptr_type(PTR ptr) const { |
3366 const Type *TypeInstPtr::cast_to_ptr_type(PTR ptr) const { |