diff options
| author | Alexandre Rames <alexandre.rames@arm.com> | 2014-12-10 10:36:50 +0000 |
|---|---|---|
| committer | Alexandre Rames <alexandre.rames@arm.com> | 2014-12-10 14:36:14 +0000 |
| commit | 3e69f16ae3fddfd24f4f0e29deb106d564ab296c (patch) | |
| tree | c796b1a2f71d4410af9fbdcb970b548a681f3955 /compiler/optimizing/register_allocator.h | |
| parent | 776b880f66edb21cb3b4225877e494ec7a9ec1a2 (diff) | |
| download | art-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.h | 9 |
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 { |
