Lines Matching refs:patch

390     const LinkerPatch& patch) {  in GetEntrypointCallKey()  argument
391 DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kCallEntrypoint); in GetEntrypointCallKey()
392 return ThunkKey(ThunkType::kEntrypointCall, patch.EntrypointOffset()); in GetEntrypointCallKey()
396 const LinkerPatch& patch) { in GetBakerThunkKey() argument
397 DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kBakerReadBarrierBranch); in GetBakerThunkKey()
399 patch.GetBakerCustomValue1(), in GetBakerThunkKey()
400 patch.GetBakerCustomValue2()); in GetBakerThunkKey()
405 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ProcessPatches() local
406 uint32_t patch_offset = code_offset + patch.LiteralOffset(); in ProcessPatches()
410 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in ProcessPatches()
412 unprocessed_method_call_patches_.emplace_back(patch_offset, patch.TargetMethod()); in ProcessPatches()
415 auto it = thunks_.Put(key, ThunkDataForPatch(patch, max_next_offset)); in ProcessPatches()
421 } else if (patch.GetType() == LinkerPatch::Type::kCallEntrypoint) { in ProcessPatches()
422 key = GetEntrypointCallKey(patch); in ProcessPatches()
424 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { in ProcessPatches()
425 key = GetBakerThunkKey(patch); in ProcessPatches()
432 auto it = thunks_.PutBefore(lb, key, ThunkDataForPatch(patch, max_next_offset)); in ProcessPatches()
542 const LinkerPatch& patch, uint32_t max_next_offset) { in ThunkDataForPatch() argument
545 thunk_provider_->GetThunkCode(patch, &code, &debug_name); in ThunkDataForPatch()