OSDN Git Service

Tweak one hint and one split in the linear scan.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 1 Jun 2015 12:51:57 +0000 (13:51 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 1 Jun 2015 13:03:51 +0000 (14:03 +0100)
commit8272688499c2232355db34d94057983fd436173d
treeaabd5c474fe53eb6d73edc6c0d1d8a00b1256eb6
parenta96bea54b7e3def5490d169f2bf92be2e68dd001
Tweak one hint and one split in the linear scan.

- Return a hinted register if it is available. Otherwise
  another move will be necessary.
- Use SplitBetween instead of raw split when a register
  is not fully available. This will find the best split
  position.

Change-Id: Ie464e536204ab556eb09345fe6426621eb86e5ac
compiler/optimizing/register_allocator.cc
compiler/optimizing/ssa_liveness_analysis.cc