diff options
author | 2024-11-25 09:54:26 +0000 | |
---|---|---|
committer | 2024-11-25 10:06:53 +0000 | |
commit | fad4678f3ae48d84b7ed1c842b03a023e4f2cb37 (patch) | |
tree | feaaf43c3b9c5732c19ba3c208382d48421d04a6 /compiler/optimizing/jit_patches_arm64.cc | |
parent | 1d280b080a4eb3529a96a5e64f938a10b0dd331a (diff) |
Revert "arm64: Store resolved MethodType-s in .bss."
This reverts commit a687066b7043dbc1be8f85001eeb0f341cd25885.
Reason for revert: Probably caused b/380651440
Change-Id: I249aef9b6e9687d1d191c31034a2c9d02e4ea23b
Diffstat (limited to 'compiler/optimizing/jit_patches_arm64.cc')
-rw-r--r-- | compiler/optimizing/jit_patches_arm64.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/compiler/optimizing/jit_patches_arm64.cc b/compiler/optimizing/jit_patches_arm64.cc index 193e913945..76ba182acb 100644 --- a/compiler/optimizing/jit_patches_arm64.cc +++ b/compiler/optimizing/jit_patches_arm64.cc @@ -67,12 +67,6 @@ void JitPatchesARM64::EmitJitRootPatches( uint64_t index_in_table = code_generation_data.GetJitClassRootIndex(type_reference); PatchJitRootUse(code, roots_data, table_entry_literal, index_in_table); } - for (const auto& entry : jit_method_type_patches_) { - const ProtoReference& proto_reference = entry.first; - vixl::aarch64::Literal<uint32_t>* table_entry_literal = entry.second; - uint64_t index_in_table = code_generation_data.GetJitMethodTypeRootIndex(proto_reference); - PatchJitRootUse(code, roots_data, table_entry_literal, index_in_table); - } } vixl::aarch64::Literal<uint32_t>* JitPatchesARM64::DeduplicateBootImageAddressLiteral( @@ -106,18 +100,5 @@ vixl::aarch64::Literal<uint32_t>* JitPatchesARM64::DeduplicateJitClassLiteral( }); } -vixl::aarch64::Literal<uint32_t>* JitPatchesARM64::DeduplicateJitMethodTypeLiteral( - const DexFile& dex_file, - dex::ProtoIndex proto_index, - Handle<mirror::MethodType> handle, - CodeGenerationData* code_generation_data) { - code_generation_data->ReserveJitMethodTypeRoot(ProtoReference(&dex_file, proto_index), handle); - return jit_method_type_patches_.GetOrCreate( - ProtoReference(&dex_file, proto_index), - [this]() { - return GetVIXLAssembler()->CreateLiteralDestroyedWithPool<uint32_t>(/* value= */ 0u); - }); -} - } // namespace arm64 } // namespace art |