Home
last modified time | relevance | path

Searched refs:reg_type (Results 1 – 6 of 6) sorted by relevance

/art/compiler/dex/
Dverified_method.cc219 reg_type(line->GetRegisterType(is_range ? inst->VRegC_3rc() : inst->VRegC_35c())); in GenerateDevirtMap() local
221 if (!reg_type.HasClass()) { in GenerateDevirtMap()
225 mirror::Class* reg_class = reg_type.GetClass(); in GenerateDevirtMap()
244 concrete_method = reg_type.GetClass()->FindVirtualMethodForInterface(abstract_method); in GenerateDevirtMap()
247 concrete_method = reg_type.GetClass()->FindVirtualMethodForVirtual(abstract_method); in GenerateDevirtMap()
253 if (reg_type.IsPreciseReference() || concrete_method->IsFinal() || in GenerateDevirtMap()
286 verifier::RegType& reg_type(line->GetRegisterType(inst->VRegA_21c())); in GenerateSafeCastSet() local
289 is_safe_cast = cast_type.IsStrictlyAssignableFrom(reg_type); in GenerateSafeCastSet()
/art/runtime/verifier/
Dregister_line.cc416 RegType& reg_type = GetRegisterType(reg_idx); in PushMonitor() local
417 if (!reg_type.IsReferenceTypes()) { in PushMonitor()
418 …verifier_->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "monitor-enter on non-object (" << reg_type << ")"; in PushMonitor()
428 RegType& reg_type = GetRegisterType(reg_idx); in PopMonitor() local
429 if (!reg_type.IsReferenceTypes()) { in PopMonitor()
430 … verifier_->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "monitor-exit on non-object (" << reg_type << ")"; in PopMonitor()
Dmethod_verifier.cc1235 RegType& reg_type = ResolveClassAndCheckAccess(iterator.GetTypeIdx()); in SetTypesFromSignature() local
1236 if (!reg_type.IsNonZeroReferenceTypes()) { in SetTypesFromSignature()
1240 reg_line->SetRegisterType(arg_start + cur_arg, reg_type); in SetTypesFromSignature()
1630 RegType& reg_type = work_line_->GetRegisterType(vregA); in CodeFlowVerifyInstruction() local
1633 if (reg_type.IsUninitializedTypes()) { in CodeFlowVerifyInstruction()
1635 << reg_type << "'"; in CodeFlowVerifyInstruction()
1636 } else if (!return_type.IsAssignableFrom(reg_type)) { in CodeFlowVerifyInstruction()
1637 if (reg_type.IsUnresolvedTypes() || return_type.IsUnresolvedTypes()) { in CodeFlowVerifyInstruction()
1639 << "' or '" << reg_type << "'"; in CodeFlowVerifyInstruction()
1641 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "returning '" << reg_type in CodeFlowVerifyInstruction()
[all …]
/art/compiler/sea_ir/types/
Dtype_inference.cc106 const Type& reg_type = type_cache_->FromDescriptor(NULL, descriptor, false); in GetDeclaredArgumentTypes() local
107 argument_types.push_back(&reg_type); in GetDeclaredArgumentTypes()
/art/compiler/dex/quick/x86/
Dtarget_x86.cc2280 RegisterClass reg_type = kCoreReg; in GenSetVector() local
2289 reg_type = kFPReg; in GenSetVector()
2298 reg_type = kFPReg; in GenSetVector()
2321 rl_src = LoadValue(rl_src, reg_type); in GenSetVector()
2323 rl_src = LoadValueWide(rl_src, reg_type); in GenSetVector()
/art/runtime/
DAndroid.mk159 verifier/reg_type.cc \