summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/code_generator_mips64.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-05-15 13:39:18 +0100
committerVladimir Marko <vmarko@google.com>2017-06-07 15:39:24 +0100
commit0eb882bfc5d260e8014c26adfda11602065aa5d8 (patch)
treee66dbebfb1e9a254c20954a2f2f98541aebfd5af /compiler/optimizing/code_generator_mips64.h
parentb5f5d746ac3f2c3088292395603cb1470e7749d2 (diff)
downloadart-0eb882bfc5d260e8014c26adfda11602065aa5d8.tar.gz
art-0eb882bfc5d260e8014c26adfda11602065aa5d8.tar.bz2
art-0eb882bfc5d260e8014c26adfda11602065aa5d8.zip
Use ArtMethod* .bss entries for HInvokeStaticOrDirect.
Test: m test-art-host-gtest Test: testrunner.py --host Test: testrunner.py --target Test: Nexus 6P boots. Test: Build aosp_mips64-userdebug. Bug: 30627598 Change-Id: I0e54fdd2e91e983d475b7a04d40815ba89ae3d4f
Diffstat (limited to 'compiler/optimizing/code_generator_mips64.h')
-rw-r--r--compiler/optimizing/code_generator_mips64.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/compiler/optimizing/code_generator_mips64.h b/compiler/optimizing/code_generator_mips64.h
index 2e8af2185a..6260c73614 100644
--- a/compiler/optimizing/code_generator_mips64.h
+++ b/compiler/optimizing/code_generator_mips64.h
@@ -551,12 +551,11 @@ class CodeGeneratorMIPS64 : public CodeGenerator {
};
PcRelativePatchInfo* NewPcRelativeMethodPatch(MethodReference target_method);
+ PcRelativePatchInfo* NewMethodBssEntryPatch(MethodReference target_method);
PcRelativePatchInfo* NewPcRelativeTypePatch(const DexFile& dex_file, dex::TypeIndex type_index);
PcRelativePatchInfo* NewTypeBssEntryPatch(const DexFile& dex_file, dex::TypeIndex type_index);
PcRelativePatchInfo* NewPcRelativeStringPatch(const DexFile& dex_file,
dex::StringIndex string_index);
- PcRelativePatchInfo* NewPcRelativeDexCacheArrayPatch(const DexFile& dex_file,
- uint32_t element_offset);
PcRelativePatchInfo* NewPcRelativeCallPatch(const DexFile& dex_file,
uint32_t method_index);
Literal* DeduplicateBootImageAddressLiteral(uint64_t address);
@@ -609,10 +608,10 @@ class CodeGeneratorMIPS64 : public CodeGenerator {
// Deduplication map for 64-bit literals, used for non-patchable method address or method code
// address.
Uint64ToLiteralMap uint64_literals_;
- // PC-relative patch info.
- ArenaDeque<PcRelativePatchInfo> pc_relative_dex_cache_patches_;
// PC-relative method patch info for kBootImageLinkTimePcRelative.
ArenaDeque<PcRelativePatchInfo> pc_relative_method_patches_;
+ // PC-relative method patch info for kBssEntry.
+ ArenaDeque<PcRelativePatchInfo> method_bss_entry_patches_;
// PC-relative type patch info for kBootImageLinkTimePcRelative.
ArenaDeque<PcRelativePatchInfo> pc_relative_type_patches_;
// PC-relative type patch info for kBssEntry.