summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/register_allocator.h
diff options
context:
space:
mode:
authorAlexandre Rames <alexandre.rames@arm.com>2014-12-10 10:36:50 +0000
committerAlexandre Rames <alexandre.rames@arm.com>2014-12-10 14:36:14 +0000
commit3e69f16ae3fddfd24f4f0e29deb106d564ab296c (patch)
treec796b1a2f71d4410af9fbdcb970b548a681f3955 /compiler/optimizing/register_allocator.h
parent776b880f66edb21cb3b4225877e494ec7a9ec1a2 (diff)
downloadart-3e69f16ae3fddfd24f4f0e29deb106d564ab296c.tar.gz
art-3e69f16ae3fddfd24f4f0e29deb106d564ab296c.tar.bz2
art-3e69f16ae3fddfd24f4f0e29deb106d564ab296c.zip
Opt compiler: Add arm64 support for register allocation.
Change-Id: Idc6e84eee66170de4a9c0a5844c3da038c083aa7
Diffstat (limited to 'compiler/optimizing/register_allocator.h')
-rw-r--r--compiler/optimizing/register_allocator.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/compiler/optimizing/register_allocator.h b/compiler/optimizing/register_allocator.h
index 976ee39ca8..cbe741c2b3 100644
--- a/compiler/optimizing/register_allocator.h
+++ b/compiler/optimizing/register_allocator.h
@@ -67,10 +67,11 @@ class RegisterAllocator {
static bool CanAllocateRegistersFor(const HGraph& graph, InstructionSet instruction_set);
static bool Supports(InstructionSet instruction_set) {
- return instruction_set == kX86
- || instruction_set == kArm
- || instruction_set == kX86_64
- || instruction_set == kThumb2;
+ return instruction_set == kArm
+ || instruction_set == kArm64
+ || instruction_set == kThumb2
+ || instruction_set == kX86
+ || instruction_set == kX86_64;
}
size_t GetNumberOfSpillSlots() const {