Lines Matching refs:return_type

1582         RegType& return_type = GetMethodReturnType();
1583 if (!return_type.IsCategory1Types()) {
1585 << return_type;
1591 bool use_src = ((return_type.IsBoolean() && src_type.IsByte()) ||
1592 ((return_type.IsBoolean() || return_type.IsByte() ||
1593 return_type.IsShort() || return_type.IsChar()) &&
1597 work_line_->VerifyRegisterType(vregA, use_src ? src_type : return_type);
1607 RegType& return_type = GetMethodReturnType();
1608 if (!return_type.IsCategory2Types()) {
1613 bool success = work_line_->VerifyRegisterType(vregA, return_type);
1622 RegType& return_type = GetMethodReturnType();
1623 if (!return_type.IsReferenceTypes()) {
1626 /* return_type is the *expected* return type, not register value */
1627 DCHECK(!return_type.IsZero());
1628 DCHECK(!return_type.IsUninitializedReference());
1632 // instance of the "return_type"
1636 } else if (!return_type.IsAssignableFrom(reg_type)) {
1637 if (reg_type.IsUnresolvedTypes() || return_type.IsUnresolvedTypes()) {
1638 Fail(VERIFY_ERROR_NO_CLASS) << " can't resolve returned type '" << return_type
1642 << "', but expected from declaration '" << return_type << "'";
2227 RegType* return_type = nullptr;
2235 return_type = &reg_types_.FromClass(h_called_method->GetReturnTypeDescriptor(),
2243 if (return_type == nullptr) {
2248 return_type = &reg_types_.FromDescriptor(class_loader_->Get(), descriptor, false);
2250 if (!return_type->IsLowHalf()) {
2251 work_line_->SetResultRegisterType(*return_type);
2253 work_line_->SetResultRegisterTypeWide(*return_type, return_type->HighHalf(&reg_types_));
2265 RegType* return_type = nullptr;
2281 return_type = &reg_types_.FromClass(return_type_descriptor,
2329 if (return_type == nullptr) {
2330 return_type = &reg_types_.FromDescriptor(class_loader_->Get(),
2333 if (!return_type->IsLowHalf()) {
2334 work_line_->SetResultRegisterType(*return_type);
2336 work_line_->SetResultRegisterTypeWide(*return_type, return_type->HighHalf(&reg_types_));
2357 RegType& return_type = reg_types_.FromDescriptor(class_loader_->Get(), descriptor,
2359 if (!return_type.IsLowHalf()) {
2360 work_line_->SetResultRegisterType(return_type);
2362 work_line_->SetResultRegisterTypeWide(return_type, return_type.HighHalf(&reg_types_));
2415 RegType& return_type = reg_types_.FromDescriptor(class_loader_->Get(), descriptor,
2417 if (!return_type.IsLowHalf()) {
2418 work_line_->SetResultRegisterType(return_type);
2420 work_line_->SetResultRegisterTypeWide(return_type, return_type.HighHalf(&reg_types_));
2681 RegType& return_type = reg_types_.FromDescriptor(class_loader_->Get(), descriptor,
2683 if (!return_type.IsLowHalf()) {
2684 work_line_->SetResultRegisterType(return_type);
2686 work_line_->SetResultRegisterTypeWide(return_type, return_type.HighHalf(&reg_types_));