summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/register_allocator.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-06-19 10:00:34 +0100
committerNicolas Geoffray <ngeoffray@google.com>2014-07-02 16:00:32 +0100
commit412f10cfed002ab617c78f2621d68446ca4dd8bd (patch)
treebbd9dddd0436da566365ada5deb1840e315e1b11 /compiler/optimizing/register_allocator.h
parentd6ab04646d8eec6f24b200f8649f3d942d9ad17e (diff)
downloadart-412f10cfed002ab617c78f2621d68446ca4dd8bd.tar.gz
art-412f10cfed002ab617c78f2621d68446ca4dd8bd.tar.bz2
art-412f10cfed002ab617c78f2621d68446ca4dd8bd.zip
Support longs in the register allocator for x86_64.
Change-Id: I7fb6dfb761bc5cf9e5705682032855a0a70ca867
Diffstat (limited to 'compiler/optimizing/register_allocator.h')
-rw-r--r--compiler/optimizing/register_allocator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/register_allocator.h b/compiler/optimizing/register_allocator.h
index e63122ffed..7d4cd1a862 100644
--- a/compiler/optimizing/register_allocator.h
+++ b/compiler/optimizing/register_allocator.h
@@ -93,6 +93,8 @@ class RegisterAllocator {
// Allocate a spill slot for the given interval.
void AllocateSpillSlotFor(LiveInterval* interval);
+ void AllocateOneSpillSlot(LiveInterval* interval, size_t end);
+ void AllocateTwoSpillSlots(LiveInterval* interval, size_t end);
// Connect adjacent siblings within blocks.
void ConnectSiblings(LiveInterval* interval);