summaryrefslogtreecommitdiffstats
path: root/runtime/arch/instruction_set_features.h
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 /runtime/arch/instruction_set_features.h
parent4945bfef00ac446d9c5458e55500229d463ab4c3 (diff)
downloadandroid_art-57b34294758e9c00993913ebe43c7ee4698a5cc6.tar.gz
android_art-57b34294758e9c00993913ebe43c7ee4698a5cc6.tar.bz2
android_art-57b34294758e9c00993913ebe43c7ee4698a5cc6.zip
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 'runtime/arch/instruction_set_features.h')
-rw-r--r--runtime/arch/instruction_set_features.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/arch/instruction_set_features.h b/runtime/arch/instruction_set_features.h
index 2c6e6995bc..e4513ef272 100644
--- a/runtime/arch/instruction_set_features.h
+++ b/runtime/arch/instruction_set_features.h
@@ -28,6 +28,7 @@ namespace art {
class ArmInstructionSetFeatures;
class Arm64InstructionSetFeatures;
class MipsInstructionSetFeatures;
+class Mips64InstructionSetFeatures;
class X86InstructionSetFeatures;
class X86_64InstructionSetFeatures;
@@ -87,6 +88,9 @@ class InstructionSetFeatures {
// Down cast this MipsInstructionFeatures.
const MipsInstructionSetFeatures* AsMipsInstructionSetFeatures() const;
+ // Down cast this Mips64InstructionFeatures.
+ const Mips64InstructionSetFeatures* AsMips64InstructionSetFeatures() const;
+
// Down cast this X86InstructionFeatures.
const X86InstructionSetFeatures* AsX86InstructionSetFeatures() const;