OSDN Git Service

Fix a bug in LiveInterval::FirstRegisterUseAfter.
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 19 Jun 2014 16:06:46 +0000 (17:06 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 25 Jun 2014 13:12:33 +0000 (14:12 +0100)
commitde025a7d90603d58c62b8fd91393f13d8826a7ac
tree232d9bb31e75d76093352f2771d774991965ffdf
parentb5dc9444777bb027b070d3ff3fcf7a2a3fb7e3dc
Fix a bug in LiveInterval::FirstRegisterUseAfter.

Since the use list is shared amongst siblings, we must stop looking
for the user once we have reached the end position of the current
interval. The next uses are for the next sibling.

Change-Id: Ibba180161e94a705e2034abd0b95a29347950257
compiler/optimizing/register_allocator_test.cc
compiler/optimizing/ssa_liveness_analysis.h