diff options
| author | 2014-09-19 11:01:00 +0100 | |
|---|---|---|
| committer | 2014-09-23 13:57:30 +0100 | |
| commit | 3bca0df855f0e575c6ee020ed016999fc8f14122 (patch) | |
| tree | 15e15c8290ad314c29ca608f51d89d4db68fd9ba /compiler/optimizing/register_allocator.h | |
| parent | d41491adb23764f28a80cbb7f2bd7af6491cd892 (diff) | |
Support for saving and restoring live registers in a slow path.
And use it in suspend check slow paths.
Change-Id: I79caf28f334c145a36180c79a6e2fceae3990c31
Diffstat (limited to 'compiler/optimizing/register_allocator.h')
| -rw-r--r-- | compiler/optimizing/register_allocator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/optimizing/register_allocator.h b/compiler/optimizing/register_allocator.h index 7d397e3649..3c305c8f58 100644 --- a/compiler/optimizing/register_allocator.h +++ b/compiler/optimizing/register_allocator.h @@ -179,6 +179,9 @@ class RegisterAllocator { // Slots reserved for out arguments. size_t reserved_out_slots_; + // The maximum live registers at safepoints. + size_t maximum_number_of_live_registers_; + FRIEND_TEST(RegisterAllocatorTest, FreeUntil); DISALLOW_COPY_AND_ASSIGN(RegisterAllocator); |