Lines Matching refs:patch
151 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in Link() local
152 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in Link()
153 auto result = method_offset_map_.FindMethodOffset(patch.TargetMethod()); in Link()
156 patcher_->PatchCall(&patched_code_, patch.LiteralOffset(), in Link()
157 offset + patch.LiteralOffset(), target_offset); in Link()
158 } else if (patch.GetType() == LinkerPatch::Type::kDexCacheArray) { in Link()
159 uint32_t target_offset = dex_cache_arrays_begin_ + patch.TargetDexCacheElementOffset(); in Link()
161 patch, in Link()
162 offset + patch.LiteralOffset(), in Link()
164 } else if (patch.GetType() == LinkerPatch::Type::kStringRelative) { in Link()
165 uint32_t target_offset = string_index_to_offset_map_.Get(patch.TargetStringIndex()); in Link()
167 patch, in Link()
168 offset + patch.LiteralOffset(), in Link()
171 LOG(FATAL) << "Bad patch type. " << patch.GetType(); in Link()