diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-09-17 13:44:24 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-09-18 10:57:06 -0700 |
commit | fc8b422c286501346b5b797420fb616aaa5e952a (patch) | |
tree | 61c857a895cdad9ce387a899f92824701259df32 /compiler/optimizing/code_generator_mips.cc | |
parent | 7090dfe84f78b1928fcbdfd664d0dd9ea52633ff (diff) |
Clean up AtomicDexRefMap
Make ClassReference, TypeReference, and MethodReference extend
DexFileReference. This enables using all of these types as the key
for AtomicDexRefMap.
Test: test-art-host
Bug: 63851220
Bug: 63756964
Change-Id: Ida3c94cadb53272cb5057e5cebc5971c1ab4d366
Diffstat (limited to 'compiler/optimizing/code_generator_mips.cc')
-rw-r--r-- | compiler/optimizing/code_generator_mips.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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_); } |