summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-01-14 15:45:59 -0800
committerAndreas Gampe <agampe@google.com>2015-01-15 11:32:48 -0800
commit57b34294758e9c00993913ebe43c7ee4698a5cc6 (patch)
tree981821619027686f83fbe00445299b0522f1df05 /compiler/driver/compiler_driver.cc
parent4945bfef00ac446d9c5458e55500229d463ab4c3 (diff)
downloadart-57b34294758e9c00993913ebe43c7ee4698a5cc6.zip
art-57b34294758e9c00993913ebe43c7ee4698a5cc6.tar.gz
art-57b34294758e9c00993913ebe43c7ee4698a5cc6.tar.bz2
ART: Allow to compile interpret-only mips64 files
Include enough infrastructure to allow cross-compiling for mips64, interpret-only. This includes the instruction-set-features, frame size info and utils assembler. Also add a disassembler for oatdump, and support in patchoat. Note: the runtime cannot run mips64, yet. Change-Id: Id106581fa76b478984741c62a8a03be0f370d992
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 9985d66..968c77e 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -363,7 +363,7 @@ CompilerDriver::CompilerDriver(const CompilerOptions* compiler_options,
dump_passes_(dump_passes),
timings_logger_(timer),
compiler_context_(nullptr),
- support_boot_image_fixup_(instruction_set != kMips),
+ support_boot_image_fixup_(instruction_set != kMips && instruction_set != kMips64),
dedupe_code_("dedupe code", *swap_space_allocator_),
dedupe_src_mapping_table_("dedupe source mapping table", *swap_space_allocator_),
dedupe_mapping_table_("dedupe mapping table", *swap_space_allocator_),
@@ -2094,6 +2094,7 @@ static bool InstructionSetHasGenericJniStub(InstructionSet isa) {
case kArm64:
case kThumb2:
case kMips:
+ case kMips64:
case kX86:
case kX86_64: return true;
default: return false;