Lines Matching refs:orig
2932 void ImageWriter::CopyAndFixupImTable(ImTable* orig, ImTable* copy) { in CopyAndFixupImTable() argument
2934 ArtMethod* method = orig->Get(i, target_ptr_size_); in CopyAndFixupImTable()
2941 void ImageWriter::CopyAndFixupImtConflictTable(ImtConflictTable* orig, ImtConflictTable* copy) { in CopyAndFixupImtConflictTable() argument
2942 const size_t count = orig->NumEntries(target_ptr_size_); in CopyAndFixupImtConflictTable()
2944 ArtMethod* interface_method = orig->GetInterfaceMethod(i, target_ptr_size_); in CopyAndFixupImtConflictTable()
2945 ArtMethod* implementation_method = orig->GetImplementationMethod(i, target_ptr_size_); in CopyAndFixupImtConflictTable()
3363 void ImageWriter::FixupClass(mirror::Class* orig, mirror::Class* copy) { in FixupClass() argument
3364 orig->FixupNativePointers(copy, target_ptr_size_, NativeLocationVisitor(this)); in FixupClass()
3366 ObjPtr<mirror::Object>(orig)->VisitReferences< in FixupClass()
3396 if (orig->ShouldVerifyAtRuntime()) { in FixupClass()
3401 void ImageWriter::FixupObject(Object* orig, Object* copy) { in FixupObject() argument
3402 DCHECK(orig != nullptr); in FixupObject()
3405 orig->AssertReadBarrierState(); in FixupObject()
3407 ObjPtr<mirror::Class> klass = orig->GetClass<kVerifyNone, kWithoutReadBarrier>(); in FixupObject()
3409 FixupClass(orig->AsClass<kVerifyNone>().Ptr(), down_cast<mirror::Class*>(copy)); in FixupObject()
3420 auto* src = down_cast<mirror::Executable*>(orig); in FixupObject()
3427 auto* src = down_cast<mirror::FieldVarHandle*>(orig); in FixupObject()
3444 orig->VisitReferences</*kVisitNativeRoots=*/ false, kVerifyNone, kWithoutReadBarrier>( in FixupObject()
3519 uint32_t access_flags, ArtMethod* orig, InstructionSet isa) in ResetNterpFastPathFlags() argument
3521 DCHECK(orig != nullptr); in ResetNterpFastPathFlags()
3522 DCHECK(!orig->IsProxyMethod()); // `UnstartedRuntime` does not support creating proxy classes. in ResetNterpFastPathFlags()
3523 DCHECK(!orig->IsRuntimeMethod()); in ResetNterpFastPathFlags()
3529 std::string_view shorty = orig->GetShortyView(); // Use orig, copy's class not yet ready. in ResetNterpFastPathFlags()
3536 void ImageWriter::CopyAndFixupMethod(ArtMethod* orig, in CopyAndFixupMethod() argument
3539 memcpy(copy, orig, ArtMethod::Size(target_ptr_size_)); in CopyAndFixupMethod()
3542 orig->GetDeclaringClassUnchecked<kWithoutReadBarrier>()); in CopyAndFixupMethod()
3544 if (!orig->IsRuntimeMethod()) { in CopyAndFixupMethod()
3545 uint32_t access_flags = orig->GetAccessFlags(); in CopyAndFixupMethod()
3558 access_flags = ResetNterpFastPathFlags(access_flags, orig, isa); in CopyAndFixupMethod()
3560 DCHECK_EQ(access_flags, ResetNterpFastPathFlags(access_flags, orig, isa)); in CopyAndFixupMethod()
3571 if (orig->IsRuntimeMethod()) { in CopyAndFixupMethod()
3572 ImtConflictTable* orig_table = orig->GetImtConflictTable(target_ptr_size_); in CopyAndFixupMethod()
3577 } else if (UNLIKELY(orig == runtime->GetResolutionMethod())) { in CopyAndFixupMethod()
3586 if (runtime->HasCalleeSaveMethod(idx) && runtime->GetCalleeSaveMethod(idx) == orig) { in CopyAndFixupMethod()
3591 CHECK(found_one) << "Expected to find callee save method but got " << orig->PrettyMethod(); in CopyAndFixupMethod()
3600 if (UNLIKELY(!orig->IsInvokable())) { in CopyAndFixupMethod()
3604 quick_code = GetQuickCode(orig, image_info); in CopyAndFixupMethod()
3607 if (orig->IsNative()) { in CopyAndFixupMethod()
3610 bool still_needs_clinit_check = orig->StillNeedsClinitCheck<kWithoutReadBarrier>(); in CopyAndFixupMethod()
3615 const void* boot_jni_stub = class_linker->FindBootJniStub(orig); in CopyAndFixupMethod()
3622 StubType stub_type = orig->IsCriticalNative() ? StubType::kJNIDlsymLookupCriticalTrampoline in CopyAndFixupMethod()
3625 } else if (!orig->HasCodeItem()) { in CopyAndFixupMethod()