Home
last modified time | relevance | path

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

/art/compiler/dex/
Dverified_method.cc79 const verifier::RegType& reg_type(line->GetRegisterType(method_verifier, in GenerateSafeCastSet() local
85 if (cast_type.IsStrictlyAssignableFrom(reg_type, /* verifier= */ nullptr)) { in GenerateSafeCastSet()
90 if (reg_type.HasClass()) { in GenerateSafeCastSet()
94 reg_type.GetClass(), in GenerateSafeCastSet()
/art/runtime/verifier/
Dregister_line.cc338 const RegType& reg_type = GetRegisterType(verifier, reg_idx); in PushMonitor() local
339 if (!reg_type.IsReferenceTypes()) { in PushMonitor()
341 << reg_type << ")"; in PushMonitor()
352 if (reg_type.IsZero()) { in PushMonitor()
368 const RegType& reg_type = GetRegisterType(verifier, reg_idx); in PopMonitor() local
369 if (!reg_type.IsReferenceTypes()) { in PopMonitor()
370 … verifier->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "monitor-exit on non-object (" << reg_type << ")"; in PopMonitor()
382 if (!success && reg_type.IsZero()) { in PopMonitor()
Dreg_type_cache.cc248 const RegType* reg_type = pair.second; in FindClass() local
249 if (MatchingPrecisionForClass(reg_type, precise)) { in FindClass()
250 return reg_type; in FindClass()
262 RegType* const reg_type = precise in InsertClass() local
266 return &AddEntry(reg_type); in InsertClass()
273 const RegType* reg_type = FindClass(klass, precise); in FromClass() local
274 if (reg_type == nullptr) { in FromClass()
275 reg_type = InsertClass(AddString(std::string_view(descriptor)), klass, precise); in FromClass()
277 return *reg_type; in FromClass()
Dmethod_verifier.cc1734 const RegType& reg_type = ResolveClass<CheckAccess::kNo>(iterator.GetTypeIdx()); in SetTypesFromSignature() local
1735 if (!reg_type.IsNonZeroReferenceTypes()) { in SetTypesFromSignature()
1739 reg_line->SetRegisterType<LockOp::kClear>(this, arg_start + cur_arg, reg_type); in SetTypesFromSignature()
2203 const RegType& reg_type = work_line_->GetRegisterType(this, vregA); in CodeFlowVerifyInstruction() local
2206 if (reg_type.IsUndefined()) { in CodeFlowVerifyInstruction()
2208 } else if (reg_type.IsConflict()) { in CodeFlowVerifyInstruction()
2210 } else if (reg_type.IsUninitializedTypes()) { in CodeFlowVerifyInstruction()
2212 << reg_type << "'"; in CodeFlowVerifyInstruction()
2213 } else if (!reg_type.IsReferenceTypes()) { in CodeFlowVerifyInstruction()
2216 << reg_type; in CodeFlowVerifyInstruction()
[all …]
/art/runtime/
DAndroid.bp209 "verifier/reg_type.cc",