OSDN Git Service

Improve search for available spill slots in RA
authorMatthew Gharrity <gharrma@google.com>
Mon, 11 Jul 2016 21:45:01 +0000 (14:45 -0700)
committerMatthew Gharrity <gharrma@google.com>
Tue, 12 Jul 2016 17:20:55 +0000 (10:20 -0700)
commitf64a6ab5f69446303faadbf6a0ede00af435e25c
treea445bbe8fa31ad699b91eee3386e0ac2864f561a
parentdedde3f10d7801ad862d1ca1de89135decff6a60
Improve search for available spill slots in RA

Previously we always searched for two adjacent spill slots, even if
we only needed one. This small change fixes that.

Test: m test-art-host

Change-Id: I021d355e6602ffee687c8537a959232b1504dcf1
compiler/optimizing/register_allocator.cc