diff options
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/code_generator_arm64.cc | 4 | ||||
| -rw-r--r-- | compiler/optimizing/code_generator_arm_vixl.cc | 4 | ||||
| -rw-r--r-- | compiler/optimizing/code_generator_mips.cc | 4 | ||||
| -rw-r--r-- | compiler/optimizing/code_generator_mips64.cc | 4 | ||||
| -rw-r--r-- | compiler/optimizing/code_generator_x86.cc | 4 | ||||
| -rw-r--r-- | compiler/optimizing/code_generator_x86_64.cc | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/compiler/optimizing/code_generator_arm64.cc b/compiler/optimizing/code_generator_arm64.cc index 19e5d067a1..c61ef0a0bc 100644 --- a/compiler/optimizing/code_generator_arm64.cc +++ b/compiler/optimizing/code_generator_arm64.cc @@ -4641,7 +4641,7 @@ vixl::aarch64::Label* CodeGeneratorARM64::NewPcRelativeMethodPatch( MethodReference target_method, vixl::aarch64::Label* adrp_label) { return NewPcRelativePatch(*target_method.dex_file, - target_method.dex_method_index, + target_method.index, adrp_label, &pc_relative_method_patches_); } @@ -4650,7 +4650,7 @@ vixl::aarch64::Label* CodeGeneratorARM64::NewMethodBssEntryPatch( MethodReference target_method, vixl::aarch64::Label* adrp_label) { return NewPcRelativePatch(*target_method.dex_file, - target_method.dex_method_index, + target_method.index, adrp_label, &method_bss_entry_patches_); } diff --git a/compiler/optimizing/code_generator_arm_vixl.cc b/compiler/optimizing/code_generator_arm_vixl.cc index 8b9495d564..6147259bd3 100644 --- a/compiler/optimizing/code_generator_arm_vixl.cc +++ b/compiler/optimizing/code_generator_arm_vixl.cc @@ -9119,14 +9119,14 @@ void CodeGeneratorARMVIXL::GenerateVirtualCall( CodeGeneratorARMVIXL::PcRelativePatchInfo* CodeGeneratorARMVIXL::NewPcRelativeMethodPatch( MethodReference target_method) { return NewPcRelativePatch(*target_method.dex_file, - target_method.dex_method_index, + target_method.index, &pc_relative_method_patches_); } CodeGeneratorARMVIXL::PcRelativePatchInfo* CodeGeneratorARMVIXL::NewMethodBssEntryPatch( MethodReference target_method) { return NewPcRelativePatch(*target_method.dex_file, - target_method.dex_method_index, + target_method.index, &method_bss_entry_patches_); } diff --git a/compiler/optimizing/code_generator_mips.cc b/compiler/optimizing/code_generator_mips.cc index f0ef0071b6..9db2bd35ca 100644 --- a/compiler/optimizing/code_generator_mips.cc +++ b/compiler/optimizing/code_generator_mips.cc @@ -1683,7 +1683,7 @@ CodeGeneratorMIPS::PcRelativePatchInfo* CodeGeneratorMIPS::NewPcRelativeMethodPa MethodReference target_method, const PcRelativePatchInfo* info_high) { return NewPcRelativePatch(*target_method.dex_file, - target_method.dex_method_index, + target_method.index, info_high, &pc_relative_method_patches_); } @@ -1692,7 +1692,7 @@ CodeGeneratorMIPS::PcRelativePatchInfo* CodeGeneratorMIPS::NewMethodBssEntryPatc MethodReference target_method, const PcRelativePatchInfo* info_high) { return NewPcRelativePatch(*target_method.dex_file, - target_method.dex_method_index, + target_method.index, info_high, &method_bss_entry_patches_); } diff --git a/compiler/optimizing/code_generator_mips64.cc b/compiler/optimizing/code_generator_mips64.cc index 201b1b065f..a27cbce3db 100644 --- a/compiler/optimizing/code_generator_mips64.cc +++ b/compiler/optimizing/code_generator_mips64.cc @@ -1592,7 +1592,7 @@ CodeGeneratorMIPS64::PcRelativePatchInfo* CodeGeneratorMIPS64::NewPcRelativeMeth MethodReference target_method, const PcRelativePatchInfo* info_high) { return NewPcRelativePatch(*target_method.dex_file, - target_method.dex_method_index, + target_method.index, info_high, &pc_relative_method_patches_); } @@ -1601,7 +1601,7 @@ CodeGeneratorMIPS64::PcRelativePatchInfo* CodeGeneratorMIPS64::NewMethodBssEntry MethodReference target_method, const PcRelativePatchInfo* info_high) { return NewPcRelativePatch(*target_method.dex_file, - target_method.dex_method_index, + target_method.index, info_high, &method_bss_entry_patches_); } diff --git a/compiler/optimizing/code_generator_x86.cc b/compiler/optimizing/code_generator_x86.cc index e45ad0a9a3..c153cf78da 100644 --- a/compiler/optimizing/code_generator_x86.cc +++ b/compiler/optimizing/code_generator_x86.cc @@ -4623,7 +4623,7 @@ void CodeGeneratorX86::RecordBootMethodPatch(HInvokeStaticOrDirect* invoke) { invoke->InputAt(invoke->GetSpecialInputIndex())->AsX86ComputeBaseMethodAddress(); boot_image_method_patches_.emplace_back(address, *invoke->GetTargetMethod().dex_file, - invoke->GetTargetMethod().dex_method_index); + invoke->GetTargetMethod().index); __ Bind(&boot_image_method_patches_.back().label); } @@ -4633,7 +4633,7 @@ Label* CodeGeneratorX86::NewMethodBssEntryPatch( // Add the patch entry and bind its label at the end of the instruction. method_bss_entry_patches_.emplace_back(method_address, *target_method.dex_file, - target_method.dex_method_index); + target_method.index); return &method_bss_entry_patches_.back().label; } diff --git a/compiler/optimizing/code_generator_x86_64.cc b/compiler/optimizing/code_generator_x86_64.cc index 8c4374d71e..bbf05a70d6 100644 --- a/compiler/optimizing/code_generator_x86_64.cc +++ b/compiler/optimizing/code_generator_x86_64.cc @@ -1068,13 +1068,13 @@ void CodeGeneratorX86_64::GenerateVirtualCall( void CodeGeneratorX86_64::RecordBootMethodPatch(HInvokeStaticOrDirect* invoke) { boot_image_method_patches_.emplace_back(*invoke->GetTargetMethod().dex_file, - invoke->GetTargetMethod().dex_method_index); + invoke->GetTargetMethod().index); __ Bind(&boot_image_method_patches_.back().label); } Label* CodeGeneratorX86_64::NewMethodBssEntryPatch(MethodReference target_method) { // Add a patch entry and return the label. - method_bss_entry_patches_.emplace_back(*target_method.dex_file, target_method.dex_method_index); + method_bss_entry_patches_.emplace_back(*target_method.dex_file, target_method.index); return &method_bss_entry_patches_.back().label; } |