Home
last modified time | relevance | path

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

/art/runtime/verifier/
Dregister_line.cc97 void RegisterLine::MarkRefsAsInitialized(MethodVerifier* verifier, const RegType& uninit_type) { in MarkRefsAsInitialized() argument
98 DCHECK(uninit_type.IsUninitializedTypes()); in MarkRefsAsInitialized()
99 const RegType& init_type = verifier->GetRegTypeCache()->FromUninitialized(uninit_type); in MarkRefsAsInitialized()
102 if (GetRegisterType(verifier, i).Equals(uninit_type)) { in MarkRefsAsInitialized()
108 if (uninit_type.IsUninitializedThisReference() || in MarkRefsAsInitialized()
109 uninit_type.IsUnresolvedAndUninitializedThisReference()) { in MarkRefsAsInitialized()
158 void RegisterLine::MarkUninitRefsAsInvalid(MethodVerifier* verifier, const RegType& uninit_type) { in MarkUninitRefsAsInvalid() argument
160 if (GetRegisterType(verifier, i).Equals(uninit_type)) { in MarkUninitRefsAsInvalid()
Dreg_type_cache.cc449 const RegType& RegTypeCache::FromUninitialized(const RegType& uninit_type) { in FromUninitialized() argument
452 if (uninit_type.IsUnresolvedTypes()) { in FromUninitialized()
453 const std::string_view& descriptor(uninit_type.GetDescriptor()); in FromUninitialized()
463 ObjPtr<mirror::Class> klass = uninit_type.GetClass(); in FromUninitialized()
464 if (uninit_type.IsUninitializedThisReference() && !klass->IsFinal()) { in FromUninitialized()
492 uninit_type.GetDescriptor(), in FromUninitialized()
Dregister_line.h167 void MarkUninitRefsAsInvalid(MethodVerifier* verifier, const RegType& uninit_type)
175 void MarkRefsAsInitialized(MethodVerifier* verifier, const RegType& uninit_type)
Dreg_type_cache.h139 const RegType& FromUninitialized(const RegType& uninit_type)
Dmethod_verifier.cc2445 const RegType& uninit_type = reg_types_.Uninitialized(res_type, work_insn_idx_); in CodeFlowVerifyInstruction() local
2448 work_line_->MarkUninitRefsAsInvalid(this, uninit_type); in CodeFlowVerifyInstruction()
2450 work_line_->SetRegisterType<LockOp::kClear>(inst->VRegA_21c(), uninit_type); in CodeFlowVerifyInstruction()